aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc/secmem.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-11-17 04:29:40 +0000
committerlloyd <[email protected]>2009-11-17 04:29:40 +0000
commit0753d6e2c478430d8cd1a0df8d21f68a05260300 (patch)
treee1759f99629b1a2d5636c5663789fc6aac981d11 /src/alloc/secmem.h
parent15412ceca197b76e6e43dfda06df7a2bcfd7ad8d (diff)
Remove some Doxygen comments
Diffstat (limited to 'src/alloc/secmem.h')
-rw-r--r--src/alloc/secmem.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/alloc/secmem.h b/src/alloc/secmem.h
index d64a376ca..d2c46a2e5 100644
--- a/src/alloc/secmem.h
+++ b/src/alloc/secmem.h
@@ -106,13 +106,10 @@ class MemoryRegion
* @param in the buffer to copy the contents from.
* @return a reference to *this
*/
- MemoryRegion<T>& operator=(const MemoryRegion<T>& in)
- { if(this != &in) set(in); return (*this); }
+ MemoryRegion<T>& operator=(const MemoryRegion<T>& other)
+ { if(this != &other) set(other); return (*this); }
/**
- * The use of this function is discouraged because of the risk of memory
- * errors. Use MemoryRegion<T>::set()
- * instead.
* Copy the contents of an array of objects of type T into this buffer.
* The former contents of *this are discarded.
* The length of *this must be at least n, otherwise memory errors occur.
@@ -123,9 +120,6 @@ class MemoryRegion
{ copy(0, in, n); }
/**
- * The use of this function is discouraged because of the risk of memory
- * errors. Use MemoryRegion<T>::set()
- * instead.
* Copy the contents of an array of objects of type T into this buffer.
* The former contents of *this are discarded.
* The length of *this must be at least n, otherwise memory errors occur.