bindings: get_filename - no need for const here
This commit is contained in:
parent
a12b8f1d2f
commit
ac8e22a781
5 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ using mapnik::parse_path;
|
|||
namespace {
|
||||
using namespace boost::python;
|
||||
|
||||
const std::string get_filename(line_pattern_symbolizer const& t)
|
||||
std::string get_filename(line_pattern_symbolizer const& t)
|
||||
{
|
||||
return path_processor_type::to_string(*t.get_filename());
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ using mapnik::parse_path;
|
|||
namespace {
|
||||
using namespace boost::python;
|
||||
|
||||
const std::string get_filename(point_symbolizer const& t)
|
||||
std::string get_filename(point_symbolizer const& t)
|
||||
{
|
||||
return path_processor_type::to_string(*t.get_filename());
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ using mapnik::guess_type;
|
|||
namespace {
|
||||
using namespace boost::python;
|
||||
|
||||
const std::string get_filename(polygon_pattern_symbolizer const& t)
|
||||
std::string get_filename(polygon_pattern_symbolizer const& t)
|
||||
{
|
||||
return path_processor_type::to_string(*t.get_filename());
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ void set_text_displacement(shield_symbolizer & t, boost::python::tuple arg)
|
|||
t.set_displacement(extract<double>(arg[0]),extract<double>(arg[1]));
|
||||
}
|
||||
|
||||
const std::string get_filename(shield_symbolizer const& t)
|
||||
std::string get_filename(shield_symbolizer const& t)
|
||||
{
|
||||
return path_processor_type::to_string(*t.get_filename());
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace mapnik {
|
|||
using namespace boost::python;
|
||||
|
||||
template <class T>
|
||||
const std::string get_svg_transform(T& symbolizer)
|
||||
std::string get_svg_transform(T& symbolizer)
|
||||
{
|
||||
return symbolizer.get_image_transform_string();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue