aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/data_parsers.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 /utils/data_parsers.hpp
parentutils: code style (diff)
downloadaes-tools-a151a774f4ce6c4b13c819502efcfe919bbf050b.tar.gz
aes-tools-a151a774f4ce6c4b13c819502efcfe919bbf050b.zip
code style
Diffstat (limited to 'utils/data_parsers.hpp')
-rw-r--r--utils/data_parsers.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/data_parsers.hpp b/utils/data_parsers.hpp
index e4f0ae2..1207c7c 100644
--- a/utils/data_parsers.hpp
+++ b/utils/data_parsers.hpp
@@ -14,7 +14,7 @@
#include <string>
#include <unordered_map>
-static std::istream& operator>>(std::istream& is, aes::Mode& dest)
+inline std::istream& operator>>(std::istream& is, aes::Mode& dest)
{
std::string src;
is >> src;
@@ -37,7 +37,7 @@ static std::istream& operator>>(std::istream& is, aes::Mode& dest)
return is;
}
-static std::istream& operator>>(std::istream& is, aes::Algorithm& dest)
+inline std::istream& operator>>(std::istream& is, aes::Algorithm& dest)
{
std::string src;
is >> src;