diff options
Diffstat (limited to 'oop2w6/Capacitor.cpp')
-rw-r--r-- | oop2w6/Capacitor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oop2w6/Capacitor.cpp b/oop2w6/Capacitor.cpp index ccb70bf..a298ce2 100644 --- a/oop2w6/Capacitor.cpp +++ b/oop2w6/Capacitor.cpp @@ -13,3 +13,6 @@ bool Capacitor::isElectrolitic() { return bIsElectrolitic; } +void Capacitor::accept(Visitor& visitor) { + visitor.visit(*this); +} |