1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

hook: Fix compiler warning about overloaded virtual function

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel 2024-03-08 19:57:08 +01:00 committed by pipeacosta
parent 43a9ab532a
commit 358a42e7e5

View file

@ -160,14 +160,14 @@ public:
virtual void setRate(double rate, double maxRate = -1) = 0;
virtual void parse() {
virtual void parse(json_t *json) {
assert(state == State::INITIALIZED);
state = State::PARSED;
}
void init() {
parse();
parse(nullptr);
check();
prepare();
start();