Make globals.Internal values non-const by default

That namespace is internal anyway.

Previous commit, icinga2 console:
Error: Constants must not be removed.

This commit fixes it.
This commit is contained in:
Alexander A. Klimov 2023-02-10 15:47:25 +01:00
parent 02df94a46a
commit 683095a165
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ INITIALIZE_ONCE_WITH_PRIORITY([]() {
l_StatsNS = new Namespace(true); l_StatsNS = new Namespace(true);
globalNS->Set("StatsFunctions", l_StatsNS, true); globalNS->Set("StatsFunctions", l_StatsNS, true);
globalNS->Set("Internal", new Namespace(true), true); globalNS->Set("Internal", new Namespace(), true);
}, InitializePriority::CreateNamespaces); }, InitializePriority::CreateNamespaces);
INITIALIZE_ONCE_WITH_PRIORITY([]() { INITIALIZE_ONCE_WITH_PRIORITY([]() {