Using bind<T> in this case causes ambiguity with GCC 5.2.1 (see http://www.boost.org/doc/libs/develop/libs/bind/doc/html/bind.html#bind.faq.Q_forms). Remove template and let the type be deduced automatically.
This commit is contained in:
parent
6c20a4a874
commit
6d749777fc
@ -111,11 +111,11 @@ template <typename Iterator, class HandlerT> struct APIGrammar : qi::grammar<Ite
|
|||||||
stringforPolyline[boost::bind(&HandlerT::SetCoordinatesFromGeometry, handler, ::_1)];
|
stringforPolyline[boost::bind(&HandlerT::SetCoordinatesFromGeometry, handler, ::_1)];
|
||||||
|
|
||||||
z = (-qi::lit('&')) >> qi::lit("tz") >> '=' >>
|
z = (-qi::lit('&')) >> qi::lit("tz") >> '=' >>
|
||||||
qi::int_[boost::bind<void>(&HandlerT::SetZ, handler, ::_1)];
|
qi::int_[boost::bind(&HandlerT::SetZ, handler, ::_1)];
|
||||||
x = (-qi::lit('&')) >> qi::lit("tx") >> '=' >>
|
x = (-qi::lit('&')) >> qi::lit("tx") >> '=' >>
|
||||||
qi::int_[boost::bind<void>(&HandlerT::SetX, handler, ::_1)];
|
qi::int_[boost::bind(&HandlerT::SetX, handler, ::_1)];
|
||||||
y = (-qi::lit('&')) >> qi::lit("ty") >> '=' >>
|
y = (-qi::lit('&')) >> qi::lit("ty") >> '=' >>
|
||||||
qi::int_[boost::bind<void>(&HandlerT::SetY, handler, ::_1)];
|
qi::int_[boost::bind(&HandlerT::SetY, handler, ::_1)];
|
||||||
|
|
||||||
string = +(qi::char_("a-zA-Z"));
|
string = +(qi::char_("a-zA-Z"));
|
||||||
stringwithDot = +(qi::char_("a-zA-Z0-9_.-"));
|
stringwithDot = +(qi::char_("a-zA-Z0-9_.-"));
|
||||||
|
Loading…
Reference in New Issue
Block a user