mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +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 TNoTracing{ static constexpr bool do_tracing=false; };
|
||||||
struct TTracing{ static constexpr bool do_tracing=true; };
|
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>;
|
constexpr bool is_timing_type_v = std::is_same_v<T, TNoTiming> || std::is_same_v<T, TTiming>;
|
||||||
}
|
}
|
||||||
|
|
||||||
static TNoTracing NoTracing;
|
[[maybe_unused]] static TNoTracing NoTracing;
|
||||||
static TNoTiming NoTiming;
|
[[maybe_unused]] static TNoTiming NoTiming;
|
||||||
|
|
||||||
template<typename TTracing=TTracing, typename TTiming=TTiming>
|
template<typename TTracing=TTracing, typename TTiming=TTiming>
|
||||||
class Timer
|
class Timer
|
||||||
|
Loading…
Reference in New Issue
Block a user