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
path: root/tests
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-06-12 16:39:16 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-06-12 16:39:16 +0300
commit9cc059755699f49e2bd7b4e722aecc00d535113d (patch)
treede248c8e08b7a56d3e63953f2a8a18fc01b472c0 /tests
parentf8696742bb2a727886ab3c492eb0a8c7afba53bb (diff)
Functions: Wrap into blender namespace
Similar to previous commit, aims to resolve compilation on devtoolset-6.
Diffstat (limited to 'tests')
-rw-r--r--tests/gtests/functions/FN_cpp_type_test.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/gtests/functions/FN_cpp_type_test.cc b/tests/gtests/functions/FN_cpp_type_test.cc
index ca8583bdc92..811e1a5d783 100644
--- a/tests/gtests/functions/FN_cpp_type_test.cc
+++ b/tests/gtests/functions/FN_cpp_type_test.cc
@@ -19,6 +19,9 @@
#include "FN_cpp_type.hh"
+namespace blender {
+namespace FN {
+
static const int default_constructed_value = 1;
static const int copy_constructed_value = 2;
static const int move_constructed_value = 3;
@@ -297,3 +300,6 @@ TEST(cpp_type, FillUninitialized)
EXPECT_EQ(buffer2[8], copy_constructed_value);
EXPECT_EQ(buffer2[9], 0);
}
+
+} // namespace FN
+} // namespace blender