MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / ~ErrnoGuard

Method ~ErrnoGuard

unittests/catch.hpp:7212–7212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7210namespace Catch {
7211 ErrnoGuard::ErrnoGuard():m_oldErrno(errno){}
7212 ErrnoGuard::~ErrnoGuard() { errno = m_oldErrno; }
7213}
7214// end catch_errno_guard.cpp
7215// start catch_exception_translator_registry.cpp

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected