diff options
author | Simon Warta <[email protected]> | 2015-06-26 11:18:01 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-27 11:15:12 +0200 |
commit | 922336151782c42455d08cca787215b0a4e7b617 (patch) | |
tree | c8370e154689d22133d5c87c7d08fa185f7c5dd6 /src/lib/cert/x509 | |
parent | acb8254284f6251291e4ae25ee5e3ee6302d3029 (diff) |
lib/cert: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/cert/x509')
-rw-r--r-- | src/lib/cert/x509/x509_obj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cert/x509/x509_obj.cpp b/src/lib/cert/x509/x509_obj.cpp index 71449098e..0f5999b5b 100644 --- a/src/lib/cert/x509/x509_obj.cpp +++ b/src/lib/cert/x509/x509_obj.cpp @@ -39,7 +39,7 @@ X509_Object::X509_Object(const std::string& file, const std::string& labels) */ X509_Object::X509_Object(const std::vector<byte>& vec, const std::string& labels) { - DataSource_Memory stream(&vec[0], vec.size()); + DataSource_Memory stream(vec.data(), vec.size()); init(stream, labels); } |