Browse Source

chore: replace DCHECK(a > b) with DCHECK_GT

Samuel Attard 6 years ago
parent
commit
b965abfda8

+ 1 - 1
atom/browser/notifications/win/win32_desktop_notifications/toast_uia.cc

@@ -31,7 +31,7 @@ ULONG DesktopNotificationController::Toast::UIAutomationInterface::Release() {
     delete this;
     return 0;
   }
-  DCHECK(ret > 0);
+  DCHECK_GT(ret, 0);
   return ret;
 }