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:
-rw-r--r--tests/gtests/blenlib/BLI_set_test.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/gtests/blenlib/BLI_set_test.cc b/tests/gtests/blenlib/BLI_set_test.cc
index 8e77a446a97..2387242c94b 100644
--- a/tests/gtests/blenlib/BLI_set_test.cc
+++ b/tests/gtests/blenlib/BLI_set_test.cc
@@ -9,7 +9,7 @@
#include "BLI_vector.hh"
#include "testing/testing.h"
-using namespace blender;
+namespace blender {
TEST(set, DefaultConstructor)
{
@@ -290,7 +290,7 @@ bool operator==(const Type2 &a, const Type1 &b)
return a.value == b.value;
}
-template<> struct blender::DefaultHash<Type1> {
+template<> struct DefaultHash<Type1> {
uint32_t operator()(const Type1 &value) const
{
return value.value;
@@ -511,3 +511,5 @@ TEST(set, Benchmark)
*/
#endif /* Benchmark */
+
+} // namespace blender