src/Main/sentryIntegration.cxx: fixed build error if HAVE_SENTRY undefined.
This commit is contained in:
parent
b2ecf39749
commit
8425a05bbe
1 changed files with 4 additions and 0 deletions
|
@ -567,12 +567,16 @@ void addSentryTag(const std::string& tag, const std::string& value)
|
|||
|
||||
SentryAllocErrorSupression::SentryAllocErrorSupression()
|
||||
{
|
||||
#if defined(HAVE_SENTRY) && !defined(BUILDING_TESTSUITE)
|
||||
perThread_reportAllocErrors = false;
|
||||
#endif
|
||||
}
|
||||
|
||||
SentryAllocErrorSupression::~SentryAllocErrorSupression()
|
||||
{
|
||||
#if defined(HAVE_SENTRY) && !defined(BUILDING_TESTSUITE)
|
||||
perThread_reportAllocErrors = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
} // of namespace flightgear
|
||||
|
|
Loading…
Reference in a new issue