diff --git a/components/crashcatcher/crashcatcher.cpp b/components/crashcatcher/crashcatcher.cpp index f478e2dff8..0a06557e3a 100644 --- a/components/crashcatcher/crashcatcher.cpp +++ b/components/crashcatcher/crashcatcher.cpp @@ -67,6 +67,8 @@ static struct namespace { + constexpr char crash_switch[] = "--cc-handle-crash"; + struct SignalInfo { int mCode; diff --git a/components/crashcatcher/crashcatcher.hpp b/components/crashcatcher/crashcatcher.hpp index a9efcaccdc..3cd1480dd5 100644 --- a/components/crashcatcher/crashcatcher.hpp +++ b/components/crashcatcher/crashcatcher.hpp @@ -11,8 +11,6 @@ #define USE_CRASH_CATCHER 0 #endif -constexpr char crash_switch[] = "--cc-handle-crash"; - #if USE_CRASH_CATCHER extern void crashCatcherInstall(int argc, char** argv, const std::filesystem::path& crashLogPath); #else