fix compile with clang++ after #2416
This commit is contained in:
parent
7576c8e384
commit
98adcc2d58
2 changed files with 6 additions and 1 deletions
|
@ -41,7 +41,8 @@ public:
|
|||
using feature_vector = std::vector<font_feature>;
|
||||
using feature_iterator = feature_vector::iterator;
|
||||
|
||||
font_feature_settings(std::string const& features = "");
|
||||
font_feature_settings(std::string const& features);
|
||||
font_feature_settings();
|
||||
|
||||
void from_string(std::string const& features);
|
||||
std::string to_string() const;
|
||||
|
|
|
@ -36,10 +36,14 @@ namespace mapnik
|
|||
{
|
||||
|
||||
font_feature_settings::font_feature_settings(std::string const& features)
|
||||
: features_()
|
||||
{
|
||||
from_string(features);
|
||||
}
|
||||
|
||||
font_feature_settings::font_feature_settings()
|
||||
: features_() {}
|
||||
|
||||
void font_feature_settings::from_string(std::string const& features)
|
||||
{
|
||||
features_.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue