aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-13 21:51:07 +0000
committerlloyd <[email protected]>2010-09-13 21:51:07 +0000
commit3a8202e6c0a372e222d03744686241e8101829d3 (patch)
tree4fec1a844575e5fdfbba2e0b57f439368706f1b2 /src/alloc
parentd34529a53979bc5be37c37f0250ad358c1f18e1c (diff)
Remove constructors of MemoryVector and SecureVector that took two
MemoryRegions and concatenated them.
Diffstat (limited to 'src/alloc')
-rw-r--r--src/alloc/secmem.h18
1 files changed, 0 insertions, 18 deletions
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<T>
*/
MemoryVector(const MemoryRegion<T>& 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<T>& in1, const MemoryRegion<T>& in2)
- { init(false); set(&in1[0], in1.size()); append(in2); }
};
/**
@@ -389,15 +380,6 @@ class SecureVector : public MemoryRegion<T>
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<T>& in1, const MemoryRegion<T>& in2)
- { init(true); set(&in1[0], in1.size()); append(in2); }
};
/**