]> git.tdb.fi Git - libs/core.git/blobdiff - source/debug/exceptiontrace.cpp
Require C++11 for building
[libs/core.git] / source / debug / exceptiontrace.cpp
index fb72223a84df776ee7cbd30cc40bdf92ce0ff86f..8ffc9c81b988667cffa12d770c1a6e97e5244ba6 100644 (file)
@@ -32,13 +32,7 @@ bool trace_enabled = false;
 
 Msp::Debug::Backtrace &get_thread_backtrace()
 {
-#if __cplusplus>=201103L
        static thread_local Msp::Debug::Backtrace backtrace;
-#elif defined(__GNUC__)
-       static __thread Msp::Debug::Backtrace backtrace;
-#else
-       static Msp::Debug::Backtrace backtrace;
-#endif
        return backtrace;
 }