1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-08 06:59:55 +00:00

fixed overzealous override

This commit is contained in:
Zeno Rogue 2024-05-26 23:22:40 +02:00
parent a703448144
commit a20158ab65

View File

@ -90,7 +90,7 @@ struct parameter : public std::enable_shared_from_this<parameter> {
virtual void reset() = 0;
virtual void swap_with(parameter*) = 0;
virtual shared_ptr<parameter> clone(struct local_parameter_set& lps, void *value) override { println(hlog, "parameter not cloneable: ", name); throw hr_exception("not cloneable"); }
virtual shared_ptr<parameter> clone(struct local_parameter_set& lps, void *value) { println(hlog, "parameter not cloneable: ", name); throw hr_exception("not cloneable"); }
void setup(const parameter_names& s);
};