MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / ErrnoGuard

Method ErrnoGuard

Bcore/src/main/cpp/Dobby/tests/catch.hpp:7041–7042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7039
7040namespace Catch {
7041ErrnoGuard::ErrnoGuard() : m_oldErrno(errno) {
7042}
7043ErrnoGuard::~ErrnoGuard() {
7044 errno = m_oldErrno;
7045}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected