From c0eb86b5865f0d8eb7d544fff8117cc6dddeeb07 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 2 Apr 2022 13:34:45 -0600 Subject: [PATCH] hide debug iteration inside #ifdef --- libs/ardour/playlist.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index ddd529960f..5f36f60cac 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -2549,9 +2549,11 @@ Playlist::relayer () } DEBUG_TRACE (DEBUG::Layering, "relayer() using:\n"); +#ifndef NDEBUG for (auto const & r : copy) { DEBUG_TRACE (DEBUG::Layering, string_compose ("\t%1 %2\n", r->name (), r->layering_index ())); } +#endif for (auto const & r : copy) { /* find the time divisions that this region covers; if there are no regions on the list,