aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/data_parsers.hpp
diff options
context:
space:
mode:
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;