| 46 | #endif |
| 47 | |
| 48 | ProfileDisabledScope::ProfileDisabledScope() { |
| 49 | _was_enabled = get_profile_enabled(); |
| 50 | set_profile_enabled(false); |
| 51 | } |
| 52 | |
| 53 | ProfileDisabledScope::~ProfileDisabledScope() { |
| 54 | set_profile_enabled(_was_enabled); |
nothing calls this directly
no test coverage detected