From 9bb7d6ed68ef1aa0e6acc3e70901cb6b79c682d2 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 9 Jun 2020 10:27:24 +0200 Subject: BLI: put C++ data structures in "blender" namespace instead of "BLI" We plan to use the "blender" namespace in other modules as well. --- source/blender/blenlib/BLI_allocator.hh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/blenlib/BLI_allocator.hh') 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__ */ -- cgit v1.2.3