mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 14:25:16 +00:00
Changed the project files to Visual Studio 2010. Fixed some Code Analysis warnings.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user