diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-13 17:35:51 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-13 17:35:51 +0200 |
| commit | 963cc1149b0428936abe42065b31eec75a53edb9 (patch) | |
| tree | 88e13371984858bd1c7516a387b94f3679c7cce3 /aesxx | |
| parent | aesxx: upgrade to std::string_view, std::format & <filesystem> (diff) | |
| download | aes-tools-963cc1149b0428936abe42065b31eec75a53edb9.tar.gz aes-tools-963cc1149b0428936abe42065b31eec75a53edb9.zip | |
aesxx: drop no longer needed dependency on Boost
Diffstat (limited to 'aesxx')
| -rw-r--r-- | aesxx/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | aesxx/include/aesxx/error.hpp | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/aesxx/CMakeLists.txt b/aesxx/CMakeLists.txt index 338ecef..9a73e0b 100644 --- a/aesxx/CMakeLists.txt +++ b/aesxx/CMakeLists.txt @@ -1,15 +1,11 @@ set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) -find_package(Boost CONFIG REQUIRED) - add_library(aesxx INTERFACE) target_include_directories(aesxx INTERFACE include/) target_link_libraries(aesxx INTERFACE aes - dbghelp - Boost::disable_autolinking - Boost::boost) + dbghelp) if(MSVC_VERSION EQUAL 1900) # These annoying dbghelp.h warnings: diff --git a/aesxx/include/aesxx/error.hpp b/aesxx/include/aesxx/error.hpp index 72a50b3..2dde936 100644 --- a/aesxx/include/aesxx/error.hpp +++ b/aesxx/include/aesxx/error.hpp @@ -9,8 +9,6 @@ #include <aes/all.h> -#include <boost/config.hpp> - #include <algorithm> #include <cstdlib> #include <cstring> @@ -75,7 +73,7 @@ public: aes_success(get()); } - ~ErrorDetailsThrowsInDestructor() BOOST_NOEXCEPT_IF(false) { + ~ErrorDetailsThrowsInDestructor() noexcept(false) { if (aes_is_error(aes_get_error_code(get()))) throw Error(impl); } |
