summaryrefslogtreecommitdiff
path: root/boost/spirit/home/qi/detail/expect_function.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/qi/detail/expect_function.hpp')
-rw-r--r--boost/spirit/home/qi/detail/expect_function.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/boost/spirit/home/qi/detail/expect_function.hpp b/boost/spirit/home/qi/detail/expect_function.hpp
index 920e30997b..ee45ae4dbf 100644
--- a/boost/spirit/home/qi/detail/expect_function.hpp
+++ b/boost/spirit/home/qi/detail/expect_function.hpp
@@ -96,9 +96,8 @@ namespace boost { namespace spirit { namespace qi { namespace detail
Skipper const& skipper;
mutable bool is_first;
- private:
// silence MSVC warning C4512: assignment operator could not be generated
- expect_function& operator= (expect_function const&);
+ BOOST_DELETED_FUNCTION(expect_function& operator= (expect_function const&))
};
}}}}