__func__ doesn't make sense (#469)

__func__ doesn't make sense since we have left c++11 in the dust
This commit is contained in:
Kjell Hedström 2022-11-29 09:00:46 -07:00 committed by GitHub
parent 6f6da0ed2a
commit 881e6da439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,8 +34,8 @@
#define G3LOG_PRETTY_FUNCTION __PRETTY_FUNCTION__ #define G3LOG_PRETTY_FUNCTION __PRETTY_FUNCTION__
#elif defined(_MSC_VER) // Microsoft #elif defined(_MSC_VER) // Microsoft
#define G3LOG_PRETTY_FUNCTION __FUNCSIG__ #define G3LOG_PRETTY_FUNCTION __FUNCSIG__
#else // Fallback to c99 / c++11 #else // __func__ is fallback to c99 / c++11, where that doesn't matter so __FUNCTION__ is the choice
#define G3LOG_PRETTY_FUNCTION __func__ #define G3LOG_PRETTY_FUNCTION __FUNCTION__
#endif #endif
// thread_local doesn't exist before VS2013 // thread_local doesn't exist before VS2013