aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc/secmem.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-07-09 15:02:39 +0000
committerlloyd <[email protected]>2010-07-09 15:02:39 +0000
commit14bfa0d15fc666b83a0b58a0713abba76c85dc41 (patch)
tree1c93120b0eca5b36f57e0d876d805bde505da9fb /src/alloc/secmem.h
parent4bbb8a19f6e3ab2f583f7a939a4f2cb3f6dc6293 (diff)
Fix constructor
Diffstat (limited to 'src/alloc/secmem.h')
-rw-r--r--src/alloc/secmem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc/secmem.h b/src/alloc/secmem.h
index cd98bff46..34f028043 100644
--- a/src/alloc/secmem.h
+++ b/src/alloc/secmem.h
@@ -397,7 +397,7 @@ class SecureVector : public MemoryRegion<T>
{
init(true, INITIAL_LEN);
if(INITIAL_LEN)
- copy(in);
+ copy(in, in.size());
else
set(in);
}