From 952ff1f61e1c5f553dd40adfaa3b9eae02aca2f0 Mon Sep 17 00:00:00 2001 From: James Crook Date: Fri, 21 Feb 2020 09:53:54 +0000 Subject: [PATCH] Don't register the Demo command It's only for developers. --- src/commands/Demo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/Demo.cpp b/src/commands/Demo.cpp index 590a688fd..02bf634b9 100644 --- a/src/commands/Demo.cpp +++ b/src/commands/Demo.cpp @@ -36,7 +36,8 @@ parameters. It is for development purposes. const ComponentInterfaceSymbol DemoCommand::Symbol { XO("Demo") }; -namespace{ BuiltinCommandsModule::Registration< DemoCommand > reg; } +//Don't register the demo command. +//namespace{ BuiltinCommandsModule::Registration< DemoCommand > reg; } bool DemoCommand::DefineParams( ShuttleParams & S ){ S.Define( delay, wxT("Delay"), 1.0f, 0.001f, FLT_MAX, 1.0f );