aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/stl_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stl_util.h b/src/utils/stl_util.h
index 690d2af01..5e4d23c7f 100644
--- a/src/utils/stl_util.h
+++ b/src/utils/stl_util.h
@@ -14,7 +14,7 @@
namespace Botan {
-std::vector<byte> to_byte_vector(const std::string& s)
+inline std::vector<byte> to_byte_vector(const std::string& s)
{
return std::vector<byte>(reinterpret_cast<const byte*>(&s[0]),
reinterpret_cast<const byte*>(&s[s.size()]));