aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc/secmem.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-08 00:03:15 +0000
committerlloyd <[email protected]>2010-09-08 00:03:15 +0000
commit995277d11e900475aff1cc418021569968394590 (patch)
treeee36518274c423b970aa8a4dcc1cbee98cc8f1e1 /src/alloc/secmem.h
parent02ed6ebc954683cd2a25a81b6e707ab481e41e26 (diff)
Rename MemoryRegion::destroy to MemoryRegion::clear to match STL
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 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