Index: util/misc/initialization_state_dcheck.h |
diff --git a/util/misc/initialization_state_dcheck.h b/util/misc/initialization_state_dcheck.h |
index 790a3d8cf75948675d783bc94d209fbeb0812c83..24b3d077d8595e010a3b12e2ea8b9cc1a6f6bd0c 100644 |
--- a/util/misc/initialization_state_dcheck.h |
+++ b/util/misc/initialization_state_dcheck.h |
@@ -25,7 +25,7 @@ |
namespace crashpad { |
-#if DCHECK_IS_ON || DOXYGEN |
+#if DCHECK_IS_ON() || DOXYGEN |
//! \brief Tracks whether data are initialized, triggering a DCHECK assertion |
//! on an invalid data access. |
@@ -168,7 +168,7 @@ struct InitializationStateDcheck { |
// technically invalid according to the standard, but clang and g++ accept them |
// without complaint even with warnings turned up. They take up no space at all, |
// and they can be “initialized” with the same () syntax used to initialize |
-// objects of the DCHECK_IS_ON InitializationStateDcheck class above. |
+// objects of the DCHECK_IS_ON() InitializationStateDcheck class above. |
using InitializationStateDcheck = bool[0]; |
#endif // COMPILER_MSVC |