diff options
Diffstat (limited to 'aesxx/utils/encrypt_bmp.cpp')
| -rw-r--r-- | aesxx/utils/encrypt_bmp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aesxx/utils/encrypt_bmp.cpp b/aesxx/utils/encrypt_bmp.cpp index 01f3a78..5b74fb9 100644 --- a/aesxx/utils/encrypt_bmp.cpp +++ b/aesxx/utils/encrypt_bmp.cpp @@ -12,6 +12,7 @@ #include <boost/program_options.hpp> #include <exception> +#include <format> #include <iostream> #include <string> @@ -67,7 +68,7 @@ int main(int argc, char** argv) { std::cerr << e; return 1; } catch (const std::exception& e) { - std::cerr << e.what() << "\n"; + std::cerr << std::format("{}\n", e.what()); return 1; } return 0; |
