Fix build errors

This commit is contained in:
Matthias Hochsteger 2019-01-11 13:25:43 +01:00
parent 0b2011a4a6
commit a40e70526e
2 changed files with 3 additions and 3 deletions

View File

@ -43,8 +43,7 @@ namespace spdlog
class logger class logger
{ {
public: public:
template<typename T> void log_helper() {}
void log_helper() { std::clog << t; }
template<typename T> template<typename T>
void log_helper( T t) { std::clog << t; } void log_helper( T t) { std::clog << t; }

View File

@ -7,6 +7,7 @@
#include "archive.hpp" // for Demangle #include "archive.hpp" // for Demangle
#include "paje_trace.hpp" #include "paje_trace.hpp"
#include "profiler.hpp"
static constexpr int MAX_TRACE_LINE_SIZE = 50; static constexpr int MAX_TRACE_LINE_SIZE = 50;
extern const char *header; extern const char *header;
@ -427,7 +428,7 @@ namespace ngcore
timer_ids.insert(t.id); timer_ids.insert(t.id);
for(auto id : timer_ids) 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 timerdepth = 0;
int maxdepth = 0; int maxdepth = 0;