diff options
Diffstat (limited to 'src/alloc/secmem.h')
-rw-r--r-- | src/alloc/secmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc/secmem.h b/src/alloc/secmem.h index 37930b963..117b8754f 100644 --- a/src/alloc/secmem.h +++ b/src/alloc/secmem.h @@ -149,7 +149,7 @@ class MemoryRegion /** * Reset this buffer to an empty buffer with size zero. */ - void destroy() { resize(0); } + void clear() { resize(0); } /** * Inserts or erases elements at the end such that the size |