13
0

reduce debug-build overhead.

This commit is contained in:
Robin Gareus 2016-04-24 17:35:21 +02:00
parent 36a928f0ae
commit 1321701189

View File

@ -2174,6 +2174,7 @@ Session::resort_routes ()
}
#ifndef NDEBUG
if (DEBUG_ENABLED(DEBUG::Graph)) {
boost::shared_ptr<RouteList> rl = routes.reader ();
for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) {
DEBUG_TRACE (DEBUG::Graph, string_compose ("%1 fed by ...\n", (*i)->name()));
@ -2187,6 +2188,7 @@ Session::resort_routes ()
}
}
}
}
#endif
}