From fdc1fba275933dfccc347774f9c13c1c6253113a Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Fri, 26 Jun 2015 11:12:22 +0200 Subject: lib/entropy: Convert &vec[0] to vec.data() --- src/lib/entropy/egd/es_egd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/entropy/egd') diff --git a/src/lib/entropy/egd/es_egd.cpp b/src/lib/entropy/egd/es_egd.cpp index 728104b44..d64b87ba1 100644 --- a/src/lib/entropy/egd/es_egd.cpp +++ b/src/lib/entropy/egd/es_egd.cpp @@ -145,11 +145,11 @@ void EGD_EntropySource::poll(Entropy_Accumulator& accum) for(size_t i = 0; i != sockets.size(); ++i) { - size_t got = sockets[i].read(&m_buf[0], m_buf.size()); + size_t got = sockets[i].read(m_buf.data(), m_buf.size()); if(got) { - accum.add(&m_buf[0], got, 6); + accum.add(m_buf.data(), got, 6); break; } } -- cgit v1.2.3