diff options
Diffstat (limited to 'intern/memutil/MEM_Allocator.h')
-rw-r--r-- | intern/memutil/MEM_Allocator.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/intern/memutil/MEM_Allocator.h b/intern/memutil/MEM_Allocator.h index 6976552ce27..229a7c46b2c 100644 --- a/intern/memutil/MEM_Allocator.h +++ b/intern/memutil/MEM_Allocator.h @@ -14,8 +14,8 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/** \file memutil/MEM_Allocator.h - * \ingroup memutil +/** \file + * \ingroup memutil */ @@ -37,8 +37,8 @@ struct MEM_Allocator typedef _Tp value_type; template<typename _Tp1> - struct rebind { - typedef MEM_Allocator<_Tp1> other; + struct rebind { + typedef MEM_Allocator<_Tp1> other; }; MEM_Allocator() throw() {} @@ -69,16 +69,16 @@ struct MEM_Allocator MEM_freeN(__p); } - size_type max_size() const throw() { - return size_t(-1) / sizeof(_Tp); + size_type max_size() const throw() { + return size_t(-1) / sizeof(_Tp); } - void construct(pointer __p, const _Tp& __val) { - new(__p) _Tp(__val); + void construct(pointer __p, const _Tp& __val) { + new(__p) _Tp(__val); } - void destroy(pointer __p) { - __p->~_Tp(); + void destroy(pointer __p) { + __p->~_Tp(); } }; |