diff --git a/test/test_vector_shared.cpp b/test/test_vector_shared.cpp index 65181f83..78da1b14 100755 --- a/test/test_vector_shared.cpp +++ b/test/test_vector_shared.cpp @@ -23,6 +23,7 @@ typedef boost::shared_ptr int_wrapper_holder; bool operator< (int_wrapper_holder const &, int_wrapper_holder const &); bool operator== (int_wrapper_holder const &, int_wrapper_holder const &); +bool operator!= (int_wrapper_holder const &, int_wrapper_holder const &); #include #include @@ -45,6 +46,11 @@ bool operator== (int_wrapper_holder const &lhs, int_wrapper_holder const &rhs) return (*lhs) == (*rhs); } +bool operator!= (int_wrapper_holder const &lhs, int_wrapper_holder const &rhs) +{ + return (*lhs) != (*rhs); +} + BOOST_PYTHON_MODULE(test_vector_shared_ext) { boost::python::implicitly_convertible ();