From 276fa31266956d44f40b053b31bee00287b27573 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 16 Aug 2004 11:22:52 +0000 Subject: [PATCH] Fix signature to operator!= [SVN r24499] --- include/boost/regex/v4/basic_regex.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/v4/basic_regex.hpp b/include/boost/regex/v4/basic_regex.hpp index 1b5a2de8..737a24bd 100644 --- a/include/boost/regex/v4/basic_regex.hpp +++ b/include/boost/regex/v4/basic_regex.hpp @@ -218,7 +218,7 @@ public: int BOOST_REGEX_CALL compare(const reg_expression&) const; bool BOOST_REGEX_CALL operator==(const reg_expression& e)const { return compare(e) == 0; } - bool operator != (const basic_regex& e) + bool operator != (const reg_expression& e) { return compare(e) != 0; } bool BOOST_REGEX_CALL operator<(const reg_expression& e)const { return compare(e) < 0; }