mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
fix unused-variable warning
This commit is contained in:
parent
79ff65d224
commit
67c031cb77
@ -147,7 +147,7 @@ namespace ngcore
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
struct TNoTracing{ static constexpr bool do_tracing=false; };
|
||||
struct TTracing{ static constexpr bool do_tracing=true; };
|
||||
|
||||
@ -163,8 +163,8 @@ namespace ngcore
|
||||
constexpr bool is_timing_type_v = std::is_same_v<T, TNoTiming> || std::is_same_v<T, TTiming>;
|
||||
}
|
||||
|
||||
static TNoTracing NoTracing;
|
||||
static TNoTiming NoTiming;
|
||||
[[maybe_unused]] static TNoTracing NoTracing;
|
||||
[[maybe_unused]] static TNoTiming NoTiming;
|
||||
|
||||
template<typename TTracing=TTracing, typename TTiming=TTiming>
|
||||
class Timer
|
||||
|
Loading…
Reference in New Issue
Block a user