From f19604516c0138ffc240388073af2ce0735c48aa Mon Sep 17 00:00:00 2001 From: Daniel Seither Date: Sat, 20 Jun 2015 18:27:06 +0200 Subject: lib/math: Convert &vec[0] to vec.data() --- src/lib/math/ec_gfp/point_gfp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/math/ec_gfp/point_gfp.h') diff --git a/src/lib/math/ec_gfp/point_gfp.h b/src/lib/math/ec_gfp/point_gfp.h index 8cbb59370..813ead81e 100644 --- a/src/lib/math/ec_gfp/point_gfp.h +++ b/src/lib/math/ec_gfp/point_gfp.h @@ -268,7 +268,7 @@ PointGFp BOTAN_DLL OS2ECP(const byte data[], size_t data_len, template PointGFp OS2ECP(const std::vector& data, const CurveGFp& curve) - { return OS2ECP(&data[0], data.size(), curve); } + { return OS2ECP(data.data(), data.size(), curve); } } -- cgit v1.2.3