mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
fix warnings
This commit is contained in:
parent
0d318ceda6
commit
07001bf36f
1 changed files with 3 additions and 3 deletions
|
@ -119,7 +119,7 @@ namespace geode {
|
||||||
bool isDefaultValue() const override {
|
bool isDefaultValue() const override {
|
||||||
return this->getValue() == this->getDefaultValue();
|
return this->getValue() == this->getDefaultValue();
|
||||||
}
|
}
|
||||||
void reset() {
|
void reset() override {
|
||||||
this->setValue(this->getDefaultValue());
|
this->setValue(this->getDefaultValue());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -155,8 +155,8 @@ namespace geode {
|
||||||
class Impl;
|
class Impl;
|
||||||
std::shared_ptr<Impl> m_impl;
|
std::shared_ptr<Impl> m_impl;
|
||||||
|
|
||||||
friend class ModSettingsManager;
|
friend class ::ModSettingsManager;
|
||||||
friend class LegacyCustomSettingToV3Node;
|
friend class ::LegacyCustomSettingToV3Node;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Result<> onParse(std::string const& key, std::string const& modID, matjson::Value const& json) override;
|
Result<> onParse(std::string const& key, std::string const& modID, matjson::Value const& json) override;
|
||||||
|
|
Loading…
Reference in a new issue