aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_channel.h
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-23 18:29:16 +0200
committerSimon Warta <[email protected]>2015-06-23 18:49:20 +0200
commite4cfc6684df02e1c1c2b583c764514cfc08e9c39 (patch)
treee8bc73070ddb9cb38594e114e28f4fa1129545f8 /src/lib/tls/tls_channel.h
parentfcb249320e9529c772fde21195659cc81cb57c73 (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.h2
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());
}
/**