diff --git a/libsrc/core/logging.hpp b/libsrc/core/logging.hpp index 6d3a40c8..d5fbf1ac 100644 --- a/libsrc/core/logging.hpp +++ b/libsrc/core/logging.hpp @@ -43,8 +43,7 @@ namespace spdlog class logger { public: - template - void log_helper() { std::clog << t; } + void log_helper() {} template void log_helper( T t) { std::clog << t; } diff --git a/libsrc/core/paje_trace.cpp b/libsrc/core/paje_trace.cpp index b3abf262..23d9e49e 100644 --- a/libsrc/core/paje_trace.cpp +++ b/libsrc/core/paje_trace.cpp @@ -7,6 +7,7 @@ #include "archive.hpp" // for Demangle #include "paje_trace.hpp" +#include "profiler.hpp" static constexpr int MAX_TRACE_LINE_SIZE = 50; extern const char *header; @@ -427,7 +428,7 @@ namespace ngcore timer_ids.insert(t.id); for(auto id : timer_ids) - timer_aliases[id] = paje.DefineEntityValue( state_type_timer, NgProfiler::GetName(id).c_str(), -1 ); + timer_aliases[id] = paje.DefineEntityValue( state_type_timer, NgProfiler::GetName(id), -1 ); int timerdepth = 0; int maxdepth = 0;