diff options
Diffstat (limited to 'aesxx/utils/decrypt_bmp.cpp')
| -rw-r--r-- | aesxx/utils/decrypt_bmp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aesxx/utils/decrypt_bmp.cpp b/aesxx/utils/decrypt_bmp.cpp index 86f6b7d..397ec02 100644 --- a/aesxx/utils/decrypt_bmp.cpp +++ b/aesxx/utils/decrypt_bmp.cpp @@ -14,6 +14,7 @@ #include <windows.h> #include <exception> +#include <format> #include <iostream> #include <string> @@ -69,7 +70,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; |
