summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/EngineInterface.h1
-rw-r--r--src/common/util/CountedPtr.h5
2 files changed, 2 insertions, 4 deletions
diff --git a/src/common/interface/EngineInterface.h b/src/common/interface/EngineInterface.h
index c86340c5..b8dcb6d8 100644
--- a/src/common/interface/EngineInterface.h
+++ b/src/common/interface/EngineInterface.h
@@ -64,7 +64,6 @@ public:
bool direction) = 0;
virtual void create_node(const string& path,
- const string& plugin_type,
const string& plugin_uri,
bool polyphonic) = 0;
diff --git a/src/common/util/CountedPtr.h b/src/common/util/CountedPtr.h
index d1a48a58..0f00be87 100644
--- a/src/common/util/CountedPtr.h
+++ b/src/common/util/CountedPtr.h
@@ -21,8 +21,7 @@
#include <cassert>
#include <cstddef>
-#ifdef DEBUG
-#define BOOST_SP_ENABLE_DEBUG_HOOKS 1
+#ifdef BOOST_SP_ENABLE_DEBUG_HOOKS
#include <iostream>
#include <list>
#include <algorithm>
@@ -47,7 +46,7 @@ namespace boost {
}
}
-#endif // DEBUG
+#endif // BOOST_SP_ENABLE_DEBUG_HOOKS
#include <boost/shared_ptr.hpp>