make a few utility functions inline and static
This commit is contained in:
parent
478a7acb2b
commit
712ff50abe
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
namespace mapnik { namespace util {
|
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)
|
boost::optional<mapnik::datasource::geometry_t> & result)
|
||||||
{
|
{
|
||||||
if (paths.size() == 1)
|
if (paths.size() == 1)
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
namespace csv_utils
|
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 wrapping_char;
|
||||||
std::string::size_type j_idx = std::string::npos;
|
std::string::size_type j_idx = std::string::npos;
|
||||||
|
|
Loading…
Reference in a new issue