aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy/egd
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-26 11:12:22 +0200
committerSimon Warta <[email protected]>2015-06-27 10:57:40 +0200
commitfdc1fba275933dfccc347774f9c13c1c6253113a (patch)
tree473f09e63fcb17fe5050d3e76fa9c8a9c68527ed /src/lib/entropy/egd
parent9f8f8bc3951f3b9a8da871b5e5ee0a75be0bace2 (diff)
lib/entropy: Convert &vec[0] to vec.data()
Diffstat (limited to 'src/lib/entropy/egd')
-rw-r--r--src/lib/entropy/egd/es_egd.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}
}