consistently return x3 grammars by const&
This commit is contained in:
parent
dfbe7fd893
commit
c03cb2d434
10 changed files with 10 additions and 10 deletions
|
@ -48,7 +48,7 @@ BOOST_SPIRIT_DECLARE(css_color_grammar_type);
|
|||
|
||||
namespace mapnik
|
||||
{
|
||||
css_color_grammar::css_color_grammar_type color_grammar();
|
||||
css_color_grammar::css_color_grammar_type const& color_grammar();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -444,7 +444,7 @@ BOOST_SPIRIT_DEFINE(
|
|||
|
||||
} // ns
|
||||
|
||||
css_color_grammar::css_color_grammar_type color_grammar()
|
||||
css_color_grammar::css_color_grammar_type const& color_grammar()
|
||||
{
|
||||
return css_color_grammar::css_color;
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ BOOST_SPIRIT_DECLARE(expression_grammar_type);
|
|||
|
||||
namespace mapnik
|
||||
{
|
||||
grammar::expression_grammar_type expression_grammar();
|
||||
grammar::expression_grammar_type const& expression_grammar();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -424,7 +424,7 @@ namespace mapnik { namespace grammar {
|
|||
|
||||
namespace mapnik
|
||||
{
|
||||
grammar::expression_grammar_type expression_grammar()
|
||||
grammar::expression_grammar_type const& expression_grammar()
|
||||
{
|
||||
return grammar::expression;
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ BOOST_SPIRIT_DECLARE(image_filter_grammar_type);
|
|||
|
||||
namespace mapnik {
|
||||
|
||||
image_filter::image_filter_grammar_type image_filter_grammar();
|
||||
image_filter::image_filter_grammar_type const& image_filter_grammar();
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -251,7 +251,7 @@ BOOST_SPIRIT_DEFINE(
|
|||
|
||||
} // image_filter
|
||||
|
||||
image_filter::image_filter_grammar_type image_filter_grammar()
|
||||
image_filter::image_filter_grammar_type const& image_filter_grammar()
|
||||
{
|
||||
return image_filter::start;
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ BOOST_SPIRIT_DECLARE(transform_expression_grammar_type);
|
|||
|
||||
namespace mapnik
|
||||
{
|
||||
grammar::transform_expression_grammar_type transform_expression_grammar();
|
||||
grammar::transform_expression_grammar_type const& transform_expression_grammar();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -175,7 +175,7 @@ namespace mapnik { namespace grammar {
|
|||
|
||||
namespace mapnik
|
||||
{
|
||||
grammar::transform_expression_grammar_type transform_expression_grammar()
|
||||
grammar::transform_expression_grammar_type const& transform_expression_grammar()
|
||||
{
|
||||
return grammar::transform;
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ BOOST_SPIRIT_DECLARE(wkt_grammar_type);
|
|||
|
||||
namespace mapnik
|
||||
{
|
||||
grammar::wkt_grammar_type wkt_grammar();
|
||||
grammar::wkt_grammar_type const& wkt_grammar();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ BOOST_SPIRIT_DEFINE(
|
|||
|
||||
namespace mapnik
|
||||
{
|
||||
grammar::wkt_grammar_type wkt_grammar()
|
||||
grammar::wkt_grammar_type const& wkt_grammar()
|
||||
{
|
||||
return grammar::wkt;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue