diff options
Diffstat (limited to 'include/internal/catch_errno_guard.cpp')
-rw-r--r-- | include/internal/catch_errno_guard.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/internal/catch_errno_guard.cpp b/include/internal/catch_errno_guard.cpp deleted file mode 100644 index 070583bc..00000000 --- a/include/internal/catch_errno_guard.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Created by Martin on 06/03/2017. - * - * Distributed under the Boost Software License, Version 1.0. (See accompanying - * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - */ - -#include "catch_errno_guard.h" - -#include <cerrno> - -namespace Catch { - ErrnoGuard::ErrnoGuard():m_oldErrno(errno){} - ErrnoGuard::~ErrnoGuard() { errno = m_oldErrno; } -} |