Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Unified Diff: util/mach/mach_extensions.h

Issue 700383007: Use implicit_cast<> instead of static_cast<> whenever possible (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: util/mach/mach_extensions.h
diff --git a/util/mach/mach_extensions.h b/util/mach/mach_extensions.h
index 14a2862fc645e456df3d7461891ce024f261f34b..5b247f88b9e80aa1009ce4c4a65514e3c3798520 100644
--- a/util/mach/mach_extensions.h
+++ b/util/mach/mach_extensions.h
@@ -23,8 +23,8 @@ namespace crashpad {
//! `mach_port_t`.
//!
//! For situations where implicit conversions between signed and unsigned types
-//! are not performed, use kMachPortNull instead of an explicit `static_cast` of
-//! `MACH_PORT_NULL` to `mach_port_t`. This is useful for logging and testing
+//! are not performed, use kMachPortNull instead of an explicit `implicit_cast`
+//! of `MACH_PORT_NULL` to `mach_port_t`. This is useful for logging and testing
//! assertions.
const mach_port_t kMachPortNull = MACH_PORT_NULL;

Powered by Google App Engine
This is Rietveld 408576698