mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
make a few utility functions inline and static
This commit is contained in:
parent
478a7acb2b
commit
712ff50abe
@ -33,7 +33,7 @@
|
||||
|
||||
namespace mapnik { namespace util {
|
||||
|
||||
void to_ds_type(mapnik::geometry_container const& paths,
|
||||
static inline void to_ds_type(mapnik::geometry_container const& paths,
|
||||
boost::optional<mapnik::datasource::geometry_t> & result)
|
||||
{
|
||||
if (paths.size() == 1)
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
namespace csv_utils
|
||||
{
|
||||
static void fix_json_quoting(std::string & csv_line)
|
||||
static inline void fix_json_quoting(std::string & csv_line)
|
||||
{
|
||||
std::string wrapping_char;
|
||||
std::string::size_type j_idx = std::string::npos;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user