const-ness
This commit is contained in:
parent
67dbb96580
commit
bdf7876652
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ namespace mapnik { namespace grammar {
|
||||||
|
|
||||||
auto do_attribute = [] (auto const& ctx)
|
auto do_attribute = [] (auto const& ctx)
|
||||||
{
|
{
|
||||||
auto & attr = _attr(ctx);
|
auto const& attr = _attr(ctx);
|
||||||
if (attr == "mapnik::geometry_type")
|
if (attr == "mapnik::geometry_type")
|
||||||
{
|
{
|
||||||
_val(ctx) = std::move(geometry_type_attribute());
|
_val(ctx) = std::move(geometry_type_attribute());
|
||||||
|
@ -130,7 +130,7 @@ namespace mapnik { namespace grammar {
|
||||||
|
|
||||||
auto do_unicode = [] (auto const& ctx)
|
auto do_unicode = [] (auto const& ctx)
|
||||||
{
|
{
|
||||||
auto & tr = x3::get<transcoder_tag>(ctx).get();
|
auto const& tr = x3::get<transcoder_tag>(ctx).get();
|
||||||
_val(ctx) = std::move(tr.transcode(_attr(ctx).c_str()));
|
_val(ctx) = std::move(tr.transcode(_attr(ctx).c_str()));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue