Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created January 23, 2014 00:59
Show Gist options
  • Save springmeyer/8570776 to your computer and use it in GitHub Desktop.
Save springmeyer/8570776 to your computer and use it in GitHub Desktop.
diff --git a/src/image_filter_grammar.cpp b/src/image_filter_grammar.cpp
index f54e184..6e95bcf 100644
--- a/src/image_filter_grammar.cpp
+++ b/src/image_filter_grammar.cpp
@@ -38,28 +38,27 @@ template <typename Iterator, typename ContType>
image_filter_grammar<Iterator,ContType>::image_filter_grammar()
: image_filter_grammar::base_type(start)
{
- using qi::lit;
- using qi::_val;
- using qi::_1;
- using qi::_a;
- using qi::_b;
- using qi::_c;
- using qi::_d;
- using qi::_e;
- using qi::_f;
- using qi::_g;
- using qi::_h;
- using qi::_r1;
- using qi::eps;
- using qi::char_;
- using qi::lexeme;
- using qi::double_;
- using boost::spirit::ascii::string;
+ qi::lit_type lit;
+ qi::_val_type _val;
+ qi::_1_type _1;
+ qi::_a_type _a;
+ qi::_b_type _b;
+ qi::_c_type _c;
+ qi::_d_type _d;
+ qi::_e_type _e;
+ qi::_f_type _f;
+ qi::_g_type _g;
+ qi::_h_type _h;
+ qi::_r1_type _r1;
+ qi::eps_type eps;
+ qi::char_type char_;
+ qi::lexeme_type lexeme;
+ qi::double_type double_;
using phoenix::push_back;
using phoenix::construct;
using phoenix::at_c;
#if BOOST_VERSION >= 104700
- using qi::no_skip;
+ qi::no_skip_type no_skip;
start = -(filter % no_skip[*char_(", ")])
;
#else
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment