summaryrefslogtreecommitdiffstats
path: root/src/Flowgraph.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-09-01 18:46:00 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-09-25 09:05:08 +0200
commitd5afedae5f31a6b4c8052b12af9279e609ac5f20 (patch)
tree0be9f40f13425591a08ee9e7c429610d93e44ba6 /src/Flowgraph.cpp
parent80a92a614d62141beba2c08a0393b736a1f6b0c4 (diff)
downloaddabmod-d5afedae5f31a6b4c8052b12af9279e609ac5f20.tar.gz
dabmod-d5afedae5f31a6b4c8052b12af9279e609ac5f20.tar.bz2
dabmod-d5afedae5f31a6b4c8052b12af9279e609ac5f20.zip
Replace DEBUG by TRACE in config.h
Diffstat (limited to 'src/Flowgraph.cpp')
-rw-r--r--src/Flowgraph.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Flowgraph.cpp b/src/Flowgraph.cpp
index e594d70..4c83fe8 100644
--- a/src/Flowgraph.cpp
+++ b/src/Flowgraph.cpp
@@ -62,7 +62,7 @@ void Node::addOutputBuffer(Buffer::sptr& buffer, Metadata_vec_sptr& md)
{
myOutputBuffers.push_back(buffer);
myOutputMetadata.push_back(md);
-#if DEBUG
+#if TRACE
std::string fname = string(myPlugin->name()) +
"-" + to_string(myDebugFiles.size()) +
"-" + to_string((size_t)(void*)myPlugin.get()) +
@@ -80,7 +80,7 @@ void Node::removeOutputBuffer(Buffer::sptr& buffer, Metadata_vec_sptr& md)
myOutputBuffers.end(),
buffer);
if (it != myOutputBuffers.end()) {
-#if DEBUG
+#if TRACE
size_t pos = std::distance(myOutputBuffers.begin(),
it);
@@ -177,7 +177,7 @@ int Node::process()
}
-#if DEBUG
+#if TRACE
assert(myDebugFiles.size() == myOutputBuffers.size());
auto buf = myOutputBuffers.begin();