summaryrefslogtreecommitdiff
path: root/boost/spirit/home/qi/detail/alternative_function.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/spirit/home/qi/detail/alternative_function.hpp')
-rw-r--r--boost/spirit/home/qi/detail/alternative_function.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/boost/spirit/home/qi/detail/alternative_function.hpp b/boost/spirit/home/qi/detail/alternative_function.hpp
index aeb6314fb4..347cd1a442 100644
--- a/boost/spirit/home/qi/detail/alternative_function.hpp
+++ b/boost/spirit/home/qi/detail/alternative_function.hpp
@@ -174,9 +174,8 @@ namespace boost { namespace spirit { namespace qi { namespace detail
Skipper const& skipper;
Attribute& attr;
- private:
// silence MSVC warning C4512: assignment operator could not be generated
- alternative_function& operator= (alternative_function const&);
+ BOOST_DELETED_FUNCTION(alternative_function& operator= (alternative_function const&))
};
template <typename Iterator, typename Context, typename Skipper>
@@ -202,9 +201,8 @@ namespace boost { namespace spirit { namespace qi { namespace detail
Context& context;
Skipper const& skipper;
- private:
// silence MSVC warning C4512: assignment operator could not be generated
- alternative_function& operator= (alternative_function const&);
+ BOOST_DELETED_FUNCTION(alternative_function& operator= (alternative_function const&))
};
}}}}