Ticket #55301: patch-vrml97_grammar.h.diff

File patch-vrml97_grammar.h.diff, 884 bytes (added by raphael-st (Raphael Straub), 7 years ago)
  • src/libopenvrml/openvrml/vrml97_grammar.h

    old new  
    2727#   include <boost/spirit/include/classic_dynamic.hpp>
    2828#   include <boost/spirit/include/phoenix1.hpp>
    2929#   include <boost/test/floating_point_comparison.hpp>
     30#   include <boost/test/tools/old/impl.hpp>
    3031#   include <stack>
    3132
    3233namespace openvrml {
     
    423424            bool operator()() const
    424425            {
    425426                using boost::test_tools::check_is_close;
    426                 using boost::test_tools::percent_tolerance;
     427                using boost::math::fpc::percent_tolerance;
    427428                const float length = sqrt(this->x_ * this->x_
    428429                                          + this->y_ * this->y_
    429430                                          + this->z_ * this->z_);