diff options
author | lloyd <[email protected]> | 2012-04-09 23:31:56 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-04-09 23:31:56 +0000 |
commit | 538804d54463fca05621990662f34a6251f0adf7 (patch) | |
tree | 9c9b740f762ef71e441dc4c10336f60af54d5e4d /src/alloc | |
parent | 757bf5016ad880961ee3a42f99b7bf2e99ec692a (diff) | |
parent | 4d3857119ad0bc7d231b5c0812c07d964f68398f (diff) |
merge of '058444ec216dd9690938c82922d911df2da535b4'
and 'bc49da394c675517b140a404c19094020d6e9d40'
Diffstat (limited to 'src/alloc')
-rw-r--r-- | src/alloc/secmem.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/alloc/secmem.h b/src/alloc/secmem.h index 6c8a75c44..2552343d6 100644 --- a/src/alloc/secmem.h +++ b/src/alloc/secmem.h @@ -59,14 +59,14 @@ class MemoryRegion const T* begin() const { return buf; } /** - * Get a pointer to the last element in the buffer. - * @return pointer to the last element in the buffer + * Get a pointer to one past the last element in the buffer. + * @return pointer to one past the last element in the buffer */ T* end() { return (buf + size()); } /** - * Get a constant pointer to the last element in the buffer. - * @return constant pointer to the last element in the buffer + * Get a const pointer to one past the last element in the buffer. + * @return const pointer to one past the last element in the buffer */ const T* end() const { return (buf + size()); } |