diff options
author | Jacques Lucke <jacques@blender.org> | 2020-06-09 11:27:24 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-06-09 11:27:24 +0300 |
commit | 9bb7d6ed68ef1aa0e6acc3e70901cb6b79c682d2 (patch) | |
tree | 843993222b8ee5c02451207404ceb113323ede6f /source/blender/blenlib/BLI_allocator.hh | |
parent | d8678e02ecec9375bec1dcf1388c6fc8b4ce3ad2 (diff) |
BLI: put C++ data structures in "blender" namespace instead of "BLI"
We plan to use the "blender" namespace in other modules as well.
Diffstat (limited to 'source/blender/blenlib/BLI_allocator.hh')
-rw-r--r-- | source/blender/blenlib/BLI_allocator.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_allocator.hh b/source/blender/blenlib/BLI_allocator.hh index cf81b024277..d57703f71bc 100644 --- a/source/blender/blenlib/BLI_allocator.hh +++ b/source/blender/blenlib/BLI_allocator.hh @@ -19,9 +19,9 @@ /** \file * \ingroup bli * - * An `Allocator` can allocate and deallocate memory. It is used by containers such as BLI::Vector. - * The allocators defined in this file do not work with standard library containers such as - * std::vector. + * An `Allocator` can allocate and deallocate memory. It is used by containers such as + * blender::Vector. The allocators defined in this file do not work with standard library + * containers such as std::vector. * * Every allocator has to implement two methods: * void *allocate(size_t size, size_t alignment, const char *name); @@ -46,7 +46,7 @@ #include "BLI_math_base.h" #include "BLI_utildefines.h" -namespace BLI { +namespace blender { /** * Use Blender's guarded allocator (aka MEM_*). This should always be used except there is a @@ -99,6 +99,6 @@ class RawAllocator { } }; -} // namespace BLI +} // namespace blender #endif /* __BLI_ALLOCATOR_HH__ */ |