MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / DebugLevelGuard

Method DebugLevelGuard

src/Tests/CoolProp-Tests.cpp:5152–5152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5150 {
5151 int saved;
5152 DebugLevelGuard() : saved(CoolProp::get_debug_level()) {}
5153 ~DebugLevelGuard() {
5154 CoolProp::set_debug_level(saved);
5155 }

Callers

nothing calls this directly

Calls 1

get_debug_levelFunction · 0.50

Tested by

no test coverage detected