diff options
author | lloyd <[email protected]> | 2012-09-07 21:24:16 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-09-07 21:24:16 +0000 |
commit | 039ffbf4bf7df2664e70f827d98e75fe1553e874 (patch) | |
tree | 7a2a4d371ca418667d7169794ad11174ca03319d /src/utils/stl_util.h | |
parent | 253d28756ee752acc0c91ccc0f1d67a4a0f7852d (diff) |
This should be inline
Diffstat (limited to 'src/utils/stl_util.h')
-rw-r--r-- | src/utils/stl_util.h | 2 |
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()])); |