Use __PRETTY_FUNCTION__ in profile_function macro
This commit is contained in:
parent
f327cc4315
commit
2ee35266a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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__)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue