diff --git a/tools/using_skia_and_harfbuzz.cpp b/tools/using_skia_and_harfbuzz.cpp index ed2b2c7e29..2e3f715c71 100644 --- a/tools/using_skia_and_harfbuzz.cpp +++ b/tools/using_skia_and_harfbuzz.cpp @@ -42,8 +42,8 @@ struct BaseOption { template struct Option : BaseOption { T value; - Option(std::string selector, std::string description, T defaultValue) - : BaseOption(selector, description), value(defaultValue) {} + Option(std::string _selector, std::string _description, T defaultValue) + : BaseOption(_selector, _description), value(defaultValue) {} }; void BaseOption::Init(const std::vector &option_list, @@ -83,19 +83,19 @@ struct DoubleOption : Option { stm << value; return stm.str(); } - DoubleOption(std::string selector, - std::string description, + DoubleOption(std::string _selector, + std::string _description, double defaultValue) - : Option(selector, description, defaultValue) {} + : Option(_selector, _description, defaultValue) {} }; struct StringOption : Option { virtual void set(std::string _value) { value = _value; } virtual std::string valueToString() { return value; } - StringOption(std::string selector, - std::string description, + StringOption(std::string _selector, + std::string _description, std::string defaultValue) - : Option(selector, description, defaultValue) {} + : Option(_selector, _description, defaultValue) {} }; // Config //////////////////////////////////////////////////////////////////////