aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}