aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx/include/aesxx/error.hpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-06-25 19:56:14 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-06-25 19:56:14 +0300
commita151a774f4ce6c4b13c819502efcfe919bbf050b (patch)
tree5cbed50713e2ea176c04327560b51df65bcd8b54 /cxx/include/aesxx/error.hpp
parentutils: code style (diff)
downloadaes-tools-a151a774f4ce6c4b13c819502efcfe919bbf050b.tar.gz
aes-tools-a151a774f4ce6c4b13c819502efcfe919bbf050b.zip
code style
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";