diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-24 08:20:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-24 08:22:44 +0300 |
commit | 4d29312c66dd56498fbab35e2892944d33484461 (patch) | |
tree | 84ba8f46e3fffea6d63996e7289cf11961506726 /intern/memutil/MEM_Allocator.h | |
parent | d8a082f914c04e93e4e77463fcc7f8514ce6bfff (diff) |
Cleanup: trailing space guardedalloc & memutil
Diffstat (limited to 'intern/memutil/MEM_Allocator.h')
-rw-r--r-- | intern/memutil/MEM_Allocator.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/intern/memutil/MEM_Allocator.h b/intern/memutil/MEM_Allocator.h index 2bcdf3a6fa5..84c6452bbb0 100644 --- a/intern/memutil/MEM_Allocator.h +++ b/intern/memutil/MEM_Allocator.h @@ -43,8 +43,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() {} @@ -75,16 +75,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(); } }; |