Codefix: override already implies virtual, so don't add virtual

This commit is contained in:
Rubidium
2026-02-04 00:26:51 +01:00
committed by rubidium42
parent 4e767224df
commit 3d844d3f1d
11 changed files with 80 additions and 80 deletions
+3 -3
View File
@@ -145,9 +145,9 @@ protected:
ScriptList::FillList<T>(vm, list, [](const T *) { return true; });
}
virtual bool SaveObject(HSQUIRRELVM vm) const override;
virtual bool LoadObject(HSQUIRRELVM vm) override;
virtual ScriptObject *CloneObject() const override;
bool SaveObject(HSQUIRRELVM vm) const override;
bool LoadObject(HSQUIRRELVM vm) override;
ScriptObject *CloneObject() const override;
/**
* Copy the content of a list.
+2 -2
View File
@@ -23,8 +23,8 @@ class ScriptTileList : public ScriptList {
private:
std::optional<OrthogonalTileIterator> resume_iter;
protected:
virtual bool SaveObject(HSQUIRRELVM) const override;
virtual ScriptObject *CloneObject() const override;
bool SaveObject(HSQUIRRELVM) const override;
ScriptObject *CloneObject() const override;
public:
/**
* Adds the rectangle between tile_from and tile_to to the to-be-evaluated tiles.