aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aesxx
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-13 17:35:51 +0200
committerEgor Tensin <egor@tensin.name>2026-06-13 17:35:51 +0200
commit963cc1149b0428936abe42065b31eec75a53edb9 (patch)
tree88e13371984858bd1c7516a387b94f3679c7cce3 /aesxx
parentaesxx: upgrade to std::string_view, std::format & <filesystem> (diff)
downloadaes-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.txt6
-rw-r--r--aesxx/include/aesxx/error.hpp4
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);
}