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_listbase_wrapper.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_listbase_wrapper.hh')
-rw-r--r-- | source/blender/blenlib/BLI_listbase_wrapper.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_listbase_wrapper.hh b/source/blender/blenlib/BLI_listbase_wrapper.hh index 70f3135d9e3..a77e2d66458 100644 --- a/source/blender/blenlib/BLI_listbase_wrapper.hh +++ b/source/blender/blenlib/BLI_listbase_wrapper.hh @@ -20,16 +20,16 @@ /** \file * \ingroup bli * - * `BLI::ListBaseWrapper` is a typed wrapper for the ListBase struct. That makes it safer and more - * convenient to use in C++ in some cases. However, if you find yourself iterating over a linked - * list a lot, consider to convert it into a vector for further processing. This improves + * `blender::ListBaseWrapper` is a typed wrapper for the ListBase struct. That makes it safer and + * more convenient to use in C++ in some cases. However, if you find yourself iterating over a + * linked list a lot, consider to convert it into a vector for further processing. This improves * performance and debugability. */ #include "BLI_listbase.h" #include "DNA_listBase.h" -namespace BLI { +namespace blender { template<typename T> class ListBaseWrapper { private: @@ -110,6 +110,6 @@ template<typename T> class ListBaseWrapper { } }; -} /* namespace BLI */ +} /* namespace blender */ #endif /* __BLI_LISTBASE_WRAPPER_HH__ */ |