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_timeit.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_timeit.hh')
-rw-r--r-- | source/blender/blenlib/BLI_timeit.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_timeit.hh b/source/blender/blenlib/BLI_timeit.hh index e9f121ec654..711a7f16ab4 100644 --- a/source/blender/blenlib/BLI_timeit.hh +++ b/source/blender/blenlib/BLI_timeit.hh @@ -23,7 +23,7 @@ #include "BLI_sys_types.h" -namespace BLI { +namespace blender { namespace Timeit { using Clock = std::chrono::steady_clock; @@ -55,8 +55,8 @@ class ScopedTimer { }; } // namespace Timeit -} // namespace BLI +} // namespace blender -#define SCOPED_TIMER(name) BLI::Timeit::ScopedTimer scoped_timer(name) +#define SCOPED_TIMER(name) blender::Timeit::ScopedTimer scoped_timer(name) #endif /* __BLI_TIMEIT_HH__ */ |