aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/simple3/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/tutorial/simple3/main.cpp')
-rw-r--r--externals/grill/flext/tutorial/simple3/main.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/externals/grill/flext/tutorial/simple3/main.cpp b/externals/grill/flext/tutorial/simple3/main.cpp
index 5d290f67..b09893ab 100644
--- a/externals/grill/flext/tutorial/simple3/main.cpp
+++ b/externals/grill/flext/tutorial/simple3/main.cpp
@@ -15,8 +15,8 @@ This is an example of an object digesting several "tagged" messages
#include <flext.h>
// check for appropriate flext version
-#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 300)
-#error You need at least flext version 0.3.0
+#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 400)
+#error You need at least flext version 0.4.0
#endif
class simple3:
@@ -52,9 +52,6 @@ simple3::simple3()
// define inlets
AddInAnything(); // add inlet of type anything (index 0)
- // set up inlets and outlets
- SetupInOut();
-
// register methods
FLEXT_ADDMETHOD_(0,"born",m_tag); // register method for tag "born"
FLEXT_ADDMETHOD_(0,"to",m_tag); // register method for tag "to"