diff --git a/common/app_monitor.cpp b/common/app_monitor.cpp index d31b433c20..2872873c72 100644 --- a/common/app_monitor.cpp +++ b/common/app_monitor.cpp @@ -264,7 +264,7 @@ void SENTRY::LogException( const wxString& aMsg ) #endif } - +#ifdef KICAD_USE_SENTRY static std::string GetSentryBreadCrumbType( BREADCRUMB_TYPE aType ) { // the only special case due to collisions with defines @@ -305,6 +305,7 @@ static std::string GetSentryBreadCrumbLevel( BREADCRUMB_LEVEL aLevel ) return ret; } +#endif namespace APP_MONITOR {