diff options
Diffstat (limited to 'src/lib/algo_base/symkey.h')
-rw-r--r-- | src/lib/algo_base/symkey.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/algo_base/symkey.h b/src/lib/algo_base/symkey.h index a93f456bb..7dfe9fbcd 100644 --- a/src/lib/algo_base/symkey.h +++ b/src/lib/algo_base/symkey.h @@ -86,7 +86,7 @@ class BOTAN_DLL OctetString * Create a new OctetString * @param in a bytestring */ - OctetString(const std::vector<byte>& in) : bits(&in[0], &in[in.size()]) {} + OctetString(const std::vector<byte>& in) : bits(in.begin(), in.end()) {} private: secure_vector<byte> bits; }; |