Changed the project files to Visual Studio 2010. Fixed some Code Analysis warnings.

This commit is contained in:
Michael Möller
2010-08-12 20:53:27 +00:00
parent a2650ba983
commit 2ec18bf862
37 changed files with 401 additions and 179 deletions

View File

@@ -80,7 +80,8 @@ namespace OpenHardwareMonitor.Hardware {
public abstract void Update();
public void Accept(IVisitor visitor) {
visitor.VisitHardware(this);
if (visitor != null)
visitor.VisitHardware(this);
}
public void Traverse(IVisitor visitor) {