Browse Source

test: shared non_comparable type

Michele Caini 2 years ago
parent
commit
93094740b2
1 changed files with 12 additions and 0 deletions
  1. 12 0
      test/entt/common/non_comparable.h

+ 12 - 0
test/entt/common/non_comparable.h

@@ -0,0 +1,12 @@
+#ifndef ENTT_COMMON_NON_COMPARABLE_HPP
+#define ENTT_COMMON_NON_COMPARABLE_HPP
+
+namespace test {
+
+struct non_comparable {
+    bool operator==(const non_comparable &) const = delete;
+};
+
+} // namespace test
+
+#endif