From b2a14e941f9b9466bd71924bf52bcf9b031f5494 Mon Sep 17 00:00:00 2001 From: Nicolas Cornu Date: Sun, 15 Dec 2024 20:34:45 +0100 Subject: [PATCH] override --- src/nrncvode/netcon.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/nrncvode/netcon.h b/src/nrncvode/netcon.h index 12a75230c5..5390f1e552 100644 --- a/src/nrncvode/netcon.h +++ b/src/nrncvode/netcon.h @@ -249,11 +249,10 @@ class WatchCondition: public ConditionEvent { class STECondition: public WatchCondition { public: STECondition(Point_process*, double (*)(Point_process*) = NULL); - virtual ~STECondition() = default; - virtual void deliver(double, NetCvode*, NrnThread*); - virtual void pgvts_deliver(double t, NetCvode*); - virtual double value(); - virtual NrnThread* thread(); + void deliver(double, NetCvode*, NrnThread*) override; + void pgvts_deliver(double t, NetCvode*) override; + double value() override; + NrnThread* thread() override; STETransition* stet_; };