From 963cc1149b0428936abe42065b31eec75a53edb9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 17:35:51 +0200 Subject: aesxx: drop no longer needed dependency on Boost --- aesxx/CMakeLists.txt | 6 +----- 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 -#include - #include #include #include @@ -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); } -- cgit v1.3