mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Fix build errors
This commit is contained in:
parent
0b2011a4a6
commit
a40e70526e
@ -43,8 +43,7 @@ namespace spdlog
|
||||
class logger
|
||||
{
|
||||
public:
|
||||
template<typename T>
|
||||
void log_helper() { std::clog << t; }
|
||||
void log_helper() {}
|
||||
|
||||
template<typename T>
|
||||
void log_helper( T t) { std::clog << t; }
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user