Use __PRETTY_FUNCTION__ in profile_function macro

This commit is contained in:
Nikita Lisitsa 2021-06-04 14:30:24 +03:00
parent f327cc4315
commit 2ee35266a6

View file

@ -21,4 +21,4 @@ namespace psemek::util
}
#define profile_function [[maybe_unused]] ::psemek::util::profiler prof ## __LINE__ (__FUNCTION__)
#define profile_function [[maybe_unused]] ::psemek::util::profiler prof ## __LINE__ (__PRETTY_FUNCTION__)