From 7ff8c97afe86ddb47b1b07e935390f815860f1e3 Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 27 May 2014 14:07:28 +0100 Subject: [PATCH] correct method sig --- include/mapnik/font_set.hpp | 2 +- src/font_set.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/font_set.hpp b/include/mapnik/font_set.hpp index 19f0f8119..781e3830d 100644 --- a/include/mapnik/font_set.hpp +++ b/include/mapnik/font_set.hpp @@ -46,7 +46,7 @@ public: std::size_t size() const; void set_name(std::string const& name); std::string const& get_name() const; - void add_face_name(std::string const& face_name); + void add_face_name(std::string face_name); std::vector const& get_face_names() const; private: diff --git a/src/font_set.cpp b/src/font_set.cpp index 4ef5274eb..da78073c7 100644 --- a/src/font_set.cpp +++ b/src/font_set.cpp @@ -62,7 +62,7 @@ std::size_t font_set::size() const return face_names_.size(); } -void font_set::add_face_name(std::string const& face_name) +void font_set::add_face_name(std::string face_name) { face_names_.push_back(std::move(face_name)); }