Skip to content

Commit 86ff74d

Browse files
committed
bikeshedding: make syntax coloring happier
1 parent fcb2195 commit 86ff74d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common/System.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ namespace Sys {
5757
// TODO: also use in VMs when cvars can be observed from multiple modules
5858
// This option can be turned on when debugging memory management
5959
#ifdef BUILD_ENGINE
60-
static Cvar::Cvar<bool> pedanticShutdown("common.pedanticShutdown", "run useless shutdown procedures before exit", Cvar::NONE,
6160
#ifdef USING_SANITIZER
62-
true);
61+
constexpr bool defaultPedanticShutdown = true;
6362
#else
64-
false);
63+
constexpr bool defaultPedanticShutdown = false;
6564
#endif
65+
static Cvar::Cvar<bool> pedanticShutdown("common.pedanticShutdown", "run useless shutdown procedures before exit", Cvar::NONE, defaultPedanticShutdown);
6666
#endif // BUILD_ENGINE
6767

6868
#if defined(BUILD_ENGINE) && defined(_WIN32)

0 commit comments

Comments
 (0)