From 1e5e37a9d1af571e962671db95b23c7cc7ddce6d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 16 May 2021 18:38:30 +0300 Subject: remove VS 2013 cruft --- include/winapi/error.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/winapi/error.hpp') diff --git a/include/winapi/error.hpp b/include/winapi/error.hpp index a14d333..8ecd720 100644 --- a/include/winapi/error.hpp +++ b/include/winapi/error.hpp @@ -5,8 +5,6 @@ #pragma once -#include - #include #include @@ -22,7 +20,7 @@ class CategoryWindows : public std::error_category { public: CategoryWindows() = default; - const char* name() const BOOST_NOEXCEPT_OR_NOTHROW { return "Windows"; } + const char* name() const noexcept { return "Windows"; } std::string message(int32_t) const; }; -- cgit v1.2.3