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:
Diffstat (limited to 'tests/gtests/functions/FN_cpp_type_test.cc')
-rw-r--r--tests/gtests/functions/FN_cpp_type_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/gtests/functions/FN_cpp_type_test.cc b/tests/gtests/functions/FN_cpp_type_test.cc
index 77b33870988..c014dd0e1f7 100644
--- a/tests/gtests/functions/FN_cpp_type_test.cc
+++ b/tests/gtests/functions/FN_cpp_type_test.cc
@@ -62,6 +62,11 @@ struct TestType {
stream << value.value;
return stream;
}
+
+ friend bool operator==(const TestType &a, const TestType &b)
+ {
+ return false;
+ }
};
MAKE_CPP_TYPE(TestType, TestType)