From 995277d11e900475aff1cc418021569968394590 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 8 Sep 2010 00:03:15 +0000 Subject: Rename MemoryRegion::destroy to MemoryRegion::clear to match STL --- src/alloc/secmem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/alloc/secmem.h') 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 -- cgit v1.2.3