MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / ~ErrnoGuard

Method ~ErrnoGuard

tests/catch.hpp:8337–8337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8335namespace Catch {
8336 ErrnoGuard::ErrnoGuard():m_oldErrno(errno){}
8337 ErrnoGuard::~ErrnoGuard() { errno = m_oldErrno; }
8338}
8339// end catch_errno_guard.cpp
8340// start catch_exception_translator_registry.cpp

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected