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_timeit.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib/BLI_timeit.hh') 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__ */ -- cgit v1.2.3