aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/stl_util.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-09-07 21:24:16 +0000
committerlloyd <[email protected]>2012-09-07 21:24:16 +0000
commit039ffbf4bf7df2664e70f827d98e75fe1553e874 (patch)
tree7a2a4d371ca418667d7169794ad11174ca03319d /src/utils/stl_util.h
parent253d28756ee752acc0c91ccc0f1d67a4a0f7852d (diff)
This should be inline
Diffstat (limited to 'src/utils/stl_util.h')
-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()]));