diff options
author | lloyd <[email protected]> | 2012-07-10 13:20:49 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-10 13:20:49 +0000 |
commit | f5b459bac5bcbdd806ba3ca9a691dc6865e210a1 (patch) | |
tree | 88db7bfa0f383e237f9677291653fb85f045cb0d /src | |
parent | 75b442a4e5884e3e7627937f1eb19ec092c5c66f (diff) |
A change in 430a859e2a1e7c0ea47beef7d399a45e8ed9ed9a broke ABI
compatability by adding a new function to MemoryRegion's vtable
because the destructor was not previously virtual. Noticed by Francis
Russel while packaging monotone for Debian.
Diffstat (limited to 'src')
-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 884f2ebc0..4ff530ecc 100644 --- a/src/alloc/secmem.h +++ b/src/alloc/secmem.h @@ -164,7 +164,7 @@ class MemoryRegion */ void swap(MemoryRegion<T>& other); - virtual ~MemoryRegion() { deallocate(buf, allocated); } + ~MemoryRegion() { deallocate(buf, allocated); } protected: MemoryRegion() : buf(0), used(0), allocated(0), alloc(0) {} |