From d5afedae5f31a6b4c8052b12af9279e609ac5f20 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 1 Sep 2018 18:46:00 +0200 Subject: Replace DEBUG by TRACE in config.h --- src/Flowgraph.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Flowgraph.cpp') 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(); -- cgit v1.2.3