aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx/include/aesxx/error.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cxx/include/aesxx/error.hpp')
-rw-r--r--cxx/include/aesxx/error.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cxx/include/aesxx/error.hpp b/cxx/include/aesxx/error.hpp
index 21f65d5..4d2c783 100644
--- a/cxx/include/aesxx/error.hpp
+++ b/cxx/include/aesxx/error.hpp
@@ -69,7 +69,7 @@ namespace aes
const void* call_stack[AES_MAX_CALL_STACK_LENGTH] = {nullptr};
};
- std::ostream& operator<<(std::ostream& os, const Error& error)
+ inline std::ostream& operator<<(std::ostream& os, const Error& error)
{
os << "AES error: " << error.what() << '\n';
os << "Call stack:\n";