correct method sig

This commit is contained in:
artemp 2014-05-27 14:07:28 +01:00
parent c5e0c7e43f
commit 7ff8c97afe
2 changed files with 2 additions and 2 deletions

View file

@ -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<std::string> const& get_face_names() const;
private:

View file

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