diff options
author | Simon Warta <[email protected]> | 2015-06-23 18:29:16 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-23 18:49:20 +0200 |
commit | e4cfc6684df02e1c1c2b583c764514cfc08e9c39 (patch) | |
tree | e8bc73070ddb9cb38594e114e28f4fa1129545f8 /src/lib/tls/tls_channel.h | |
parent | fcb249320e9529c772fde21195659cc81cb57c73 (diff) |
lib/tls: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/tls/tls_channel.h')
-rw-r--r-- | src/lib/tls/tls_channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_channel.h b/src/lib/tls/tls_channel.h index 713d4c1b9..4e6874a16 100644 --- a/src/lib/tls/tls_channel.h +++ b/src/lib/tls/tls_channel.h @@ -84,7 +84,7 @@ class BOTAN_DLL Channel template<typename Alloc> void send(const std::vector<unsigned char, Alloc>& val) { - send(&val[0], val.size()); + send(val.data(), val.size()); } /** |