From 114fb12ed445b0d7472655fc26da052a2a2aa167 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 14 Dec 2022 18:44:50 +0100 Subject: week 6 klaar --- oop2w6/Resistor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'oop2w6/Resistor.h') diff --git a/oop2w6/Resistor.h b/oop2w6/Resistor.h index 133004d..abeea40 100644 --- a/oop2w6/Resistor.h +++ b/oop2w6/Resistor.h @@ -11,5 +11,6 @@ public: Resistor(double value, double tolerance); virtual double getValue(); virtual double getTolerance(); + virtual void accept(Visitor&); }; -- cgit v1.2.3