From 712ff50abe29c25df068315b187e1807676e7eb8 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 26 Feb 2013 10:52:41 -0500 Subject: [PATCH] make a few utility functions inline and static --- include/mapnik/util/geometry_to_ds_type.hpp | 2 +- plugins/input/csv/csv_utils.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/util/geometry_to_ds_type.hpp b/include/mapnik/util/geometry_to_ds_type.hpp index d0db1e284..cff44bc27 100644 --- a/include/mapnik/util/geometry_to_ds_type.hpp +++ b/include/mapnik/util/geometry_to_ds_type.hpp @@ -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 & result) { if (paths.size() == 1) diff --git a/plugins/input/csv/csv_utils.hpp b/plugins/input/csv/csv_utils.hpp index 127837505..3fdcaa3c8 100644 --- a/plugins/input/csv/csv_utils.hpp +++ b/plugins/input/csv/csv_utils.hpp @@ -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;