From 16a6ab79df2d57f2060593fe3fda1e7dbf7349e3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Jun 2024 15:09:02 -0400 Subject: Avoid use of "#if 0" as a supercomment Mainly because clang-tidy complains about it. --- src/server/ingen_lv2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index 45a193c1..d474693d 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -73,6 +73,8 @@ #include #include +// #define CLEAR_GRAPH_ON_RESTORE 1 + namespace ingen { class Atom; @@ -766,7 +768,7 @@ ingen_restore(LV2_Handle instance, return LV2_STATE_ERR_UNKNOWN; } -#if 0 +#ifdef CLEAR_GRAPH_ON_RESTORE // Remove existing root graph contents std::shared_ptr engine = plugin->engine; for (const auto& b : engine->root_graph()->blocks()) { -- cgit v1.2.1