make a few utility functions inline and static

This commit is contained in:
Dane Springmeyer 2013-02-26 10:52:41 -05:00
parent 478a7acb2b
commit 712ff50abe
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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;