From 3a00ce06fe3458f30552a9db770728a8bb7fd323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Tue, 15 Mar 2011 17:33:13 +0000 Subject: [PATCH] Fixed Issue 171. --- Hardware/HDD/HDD.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Hardware/HDD/HDD.cs b/Hardware/HDD/HDD.cs index ec9a8d3..5f6ed1f 100644 --- a/Hardware/HDD/HDD.cs +++ b/Hardware/HDD/HDD.cs @@ -16,7 +16,7 @@ The Initial Developer of the Original Code is Michael Möller . - 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); + } } }