Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-07-03 15:25:20 +0300
committerJacques Lucke <jacques@blender.org>2020-07-03 15:25:20 +0300
commit395b294b614f43faac0ffaef167aed1b94a53b8e (patch)
treefb91d677fe1648d3646a6ba1f18e6f323aa77cd2 /source/blender/functions/FN_cpp_type.hh
parent5fbf70b0d0c5a387d01bba4b4d536d166e16ac0e (diff)
Cleanup: use nested namespaces
Diffstat (limited to 'source/blender/functions/FN_cpp_type.hh')
-rw-r--r--source/blender/functions/FN_cpp_type.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/functions/FN_cpp_type.hh b/source/blender/functions/FN_cpp_type.hh
index e8f0335e7c9..1681ff9fe8c 100644
--- a/source/blender/functions/FN_cpp_type.hh
+++ b/source/blender/functions/FN_cpp_type.hh
@@ -70,8 +70,7 @@
#include "BLI_math_base.h"
#include "BLI_string_ref.hh"
-namespace blender {
-namespace fn {
+namespace blender::fn {
class CPPType {
public:
@@ -720,8 +719,7 @@ static std::unique_ptr<const CPPType> create_cpp_type(StringRef name, const T &d
return std::unique_ptr<const CPPType>(type);
}
-} // namespace fn
-} // namespace blender
+} // namespace blender::fn
#define MAKE_CPP_TYPE(IDENTIFIER, TYPE_NAME) \
static TYPE_NAME default_value_##IDENTIFIER; \