diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 18:38:30 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 18:44:21 +0300 |
commit | 1e5e37a9d1af571e962671db95b23c7cc7ddce6d (patch) | |
tree | e4b9900e7f4c1973fa4670f5d43a140bc551098a /include/winapi/error.hpp | |
parent | update cmake-common (diff) | |
download | winapi-common-1e5e37a9d1af571e962671db95b23c7cc7ddce6d.tar.gz winapi-common-1e5e37a9d1af571e962671db95b23c7cc7ddce6d.zip |
remove VS 2013 cruft
Diffstat (limited to 'include/winapi/error.hpp')
-rw-r--r-- | include/winapi/error.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 <boost/config.hpp> - #include <windows.h> #include <cstdint> @@ -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; }; |