aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-17 05:03:06 +0000
committerlloyd <[email protected]>2009-11-17 05:03:06 +0000
commit0d27bc0f8763cb6dd6307dbab7713058dee18b2c (patch)
tree5cb428e1c4475ca24f1e4a84dfdc07c7a9e91393 /src/entropy
parent0753d6e2c478430d8cd1a0df8d21f68a05260300 (diff)
Rename/remove some secmem member variables for better matching with STL
containers (specifically vector). Rename is_empty to empty Remove has_items Rename create to resize
Diffstat (limited to 'src/entropy')
-rw-r--r--src/entropy/entropy_src.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/entropy_src.h b/src/entropy/entropy_src.h
index a1a53fafb..be1a16636 100644
--- a/src/entropy/entropy_src.h
+++ b/src/entropy/entropy_src.h
@@ -29,7 +29,7 @@ class Entropy_Accumulator
@return cached I/O buffer for repeated polls
*/
MemoryRegion<byte>& get_io_buffer(u32bit size)
- { io_buffer.create(size); return io_buffer; }
+ { io_buffer.resize(size); return io_buffer; }
u32bit bits_collected() const
{ return static_cast<u32bit>(collected_bits); }