diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-05 00:11:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-05 00:11:09 +0400 |
commit | 5189356d587f51280c9486980d9f5e774338540e (patch) | |
tree | 321a4ea29852c82262d3af98ad551a24239fab23 /intern/memutil | |
parent | 510f98576a1b392226330dd854e049f712ddf62c (diff) |
style cleanup
Diffstat (limited to 'intern/memutil')
-rw-r--r-- | intern/memutil/MEM_Allocator.h | 2 | ||||
-rw-r--r-- | intern/memutil/MEM_RefCountPtr.h | 2 | ||||
-rw-r--r-- | intern/memutil/MEM_SmartPtr.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/memutil/MEM_Allocator.h b/intern/memutil/MEM_Allocator.h index 9541604b680..0020094ebbb 100644 --- a/intern/memutil/MEM_Allocator.h +++ b/intern/memutil/MEM_Allocator.h @@ -72,7 +72,7 @@ struct MEM_Allocator } // __p is not permitted to be a null pointer. - void deallocate(pointer __p, size_type){ + void deallocate(pointer __p, size_type) { MEM_freeN(__p); } diff --git a/intern/memutil/MEM_RefCountPtr.h b/intern/memutil/MEM_RefCountPtr.h index 4f475345076..ffdf927b551 100644 --- a/intern/memutil/MEM_RefCountPtr.h +++ b/intern/memutil/MEM_RefCountPtr.h @@ -98,7 +98,7 @@ * * static * MEM_RefCountPtr<RcUsefullClass> - * New(...){ + * New(...) { * return MEM_RefCountPtr<RcUsefullClass> output( * new UsefullClass(...) * ); diff --git a/intern/memutil/MEM_SmartPtr.h b/intern/memutil/MEM_SmartPtr.h index 6a0dc1723c4..722a0a8fd3b 100644 --- a/intern/memutil/MEM_SmartPtr.h +++ b/intern/memutil/MEM_SmartPtr.h @@ -119,7 +119,7 @@ public : MEM_SmartPtr( const MEM_SmartPtr &rhs - ){ + ) { m_val = rhs.Release(); } |