Permalink
Browse files

Fix equality testcase

  • Loading branch information...
1 parent 37c09b0 commit 1949e2cc63abc3d8a361f37d2083774badd04bff @wsfulton wsfulton committed Jun 4, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 Examples/test-suite/equality.i
@@ -6,6 +6,8 @@
%module equality
+%warnfilter(SWIGWARN_LANG_IDENTIFIER) operator==;
+
%inline %{
/* Point has no equality operator */
@@ -40,7 +42,7 @@ public:
inline static const EqualOpWrong* GetStaticObject();
};
-static const EqualOpWrong s_wrongEqOp;
+static EqualOpWrong s_wrongEqOp;
const EqualOpWrong* EqualOpWrong::GetStaticObject()
{ return &s_wrongEqOp; }

0 comments on commit 1949e2c

Please sign in to comment.