fix warnings

This commit is contained in:
HJfod 2024-08-20 12:56:46 +03:00
parent 0d318ceda6
commit 07001bf36f

View file

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