Qiet down VC++ on a 'performance' warning

This commit is contained in:
Andreas Fabri 2014-04-25 10:19:35 +02:00
parent 7f52c63c82
commit d4bca9e2a4
1 changed files with 13 additions and 0 deletions

View File

@ -23,6 +23,12 @@
#include <CGAL/Kinetic/basic.h>
#include <functional>
#if defined(BOOST_MSVC)
# pragma warning(push)
# pragma warning(disable:4800) // conversion to bool performance warning
#endif
namespace CGAL { namespace Kinetic {
//! An object to help convert between moving objects and their static representations to wrap a predicate.
@ -166,4 +172,11 @@ protected:
};
} } //namespace CGAL::Kinetic
#if defined(BOOST_MSVC)
# pragma warning(pop)
#endif
#endif