diff options
-rw-r--r-- | device/core/device_monitor_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device/core/device_monitor_win.cc b/device/core/device_monitor_win.cc index cf2d1f7..3449c82 100644 --- a/device/core/device_monitor_win.cc +++ b/device/core/device_monitor_win.cc @@ -26,7 +26,7 @@ DeviceMonitorMessageWindow* g_message_window; // Provides basic comparability for GUIDs so that they can be used as keys to an // STL map. struct CompareGUID { - bool operator()(const GUID& a, const GUID& b) { + bool operator()(const GUID& a, const GUID& b) const { return memcmp(&a, &b, sizeof a) < 0; } }; |