mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-03 04:52:35 +02:00
use override in all possible places
This commit is contained in:
@@ -194,7 +194,7 @@ class {0}: public SimTool
|
||||
public:
|
||||
{0}();
|
||||
virtual ~{0}();
|
||||
virtual int Perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, int brushY, float strength);
|
||||
int Perform(Simulation * sim, Particle * cpart, int x, int y, int brushX, int brushY, float strength) override;
|
||||
}};
|
||||
""".format(className, str.join("\n", classMembers))
|
||||
|
||||
|
Reference in New Issue
Block a user