diff --git a/easy_profiler_core/profile_manager.cpp b/easy_profiler_core/profile_manager.cpp index 5a70c59..69391a9 100644 --- a/easy_profiler_core/profile_manager.cpp +++ b/easy_profiler_core/profile_manager.cpp @@ -252,7 +252,7 @@ profiler::ThreadGuard::~ThreadGuard() ////////////////////////////////////////////////////////////////////////// #if defined(EASY_CHRONO_CLOCK) -static EASY_CONSTEXPR_FUN int64_t calculate_cpu_frequency() +static EASY_CONSTEXPR_FCN int64_t calculate_cpu_frequency() { return EASY_CHRONO_CLOCK::period::den / EASY_CHRONO_CLOCK::period::num }