From 4f9b0bcb9ba5c765e43a3638703b96eafec7569c Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Mon, 25 Sep 2000 05:36:21 +0000 Subject: [PATCH] disabled warning about operator-> not returning a UDT. If operator-> does not get called, it should not be checked for this error. This showed up when using an iterator with value_type=int. [SVN r7813] --- include/boost/operators.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/operators.hpp b/include/boost/operators.hpp index 8144c7c..482a25a 100644 --- a/include/boost/operators.hpp +++ b/include/boost/operators.hpp @@ -69,6 +69,10 @@ #pragma set woff 1234 #endif +#if defined(BOOST_MSVC) +# pragma warning( disable : 4284 ) // complaint about return type of +#endif // operator-> not begin a UDT + namespace boost { namespace detail {