Fixed Issue 171.

This commit is contained in:
Michael Möller
2011-03-15 17:33:13 +00:00
parent 910c251496
commit 3a00ce06fe

View File

@@ -16,7 +16,7 @@
The Initial Developer of the Original Code is
Michael Möller <m.moeller@gmx.ch>.
Portions created by the Initial Developer are Copyright (C) 2009-2010
Portions created by the Initial Developer are Copyright (C) 2009-2011
the Initial Developer. All Rights Reserved.
Contributor(s): Paul Werelds
@@ -162,6 +162,9 @@ namespace OpenHardwareMonitor.Hardware.HDD {
visitor.VisitHardware(this);
}
public void Traverse(IVisitor visitor) { }
public void Traverse(IVisitor visitor) {
foreach (ISensor sensor in Sensors)
sensor.Accept(visitor);
}
}
}