From 3a8202e6c0a372e222d03744686241e8101829d3 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 13 Sep 2010 21:51:07 +0000 Subject: Remove constructors of MemoryVector and SecureVector that took two MemoryRegions and concatenated them. --- src/alloc/secmem.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/alloc/secmem.h') diff --git a/src/alloc/secmem.h b/src/alloc/secmem.h index c87035a1e..194a78e5f 100644 --- a/src/alloc/secmem.h +++ b/src/alloc/secmem.h @@ -320,15 +320,6 @@ class MemoryVector : public MemoryRegion */ MemoryVector(const MemoryRegion& in) { init(false); set(&in[0], in.size()); } - - /** - * Create a buffer whose content is the concatenation of two other - * buffers. - * @param in1 the first part of the new contents - * @param in2 the contents to be appended to in1 - */ - MemoryVector(const MemoryRegion& in1, const MemoryRegion& in2) - { init(false); set(&in1[0], in1.size()); append(in2); } }; /** @@ -389,15 +380,6 @@ class SecureVector : public MemoryRegion else set(&in[0], in.size()); } - - /** - * Create a buffer whose content is the concatenation of two other - * buffers. - * @param in1 the first part of the new contents - * @param in2 the contents to be appended to in1 - */ - SecureVector(const MemoryRegion& in1, const MemoryRegion& in2) - { init(true); set(&in1[0], in1.size()); append(in2); } }; /** -- cgit v1.2.3