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

Unified Diff: util/misc/initialization_state_dcheck.h

Issue 700143004: C++11: Use type aliases instead of typedefs (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
« no previous file with comments | « util/mach/symbolic_constants_mach_test.cc ('k') | util/misc/symbolic_constants_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/misc/initialization_state_dcheck.h
diff --git a/util/misc/initialization_state_dcheck.h b/util/misc/initialization_state_dcheck.h
index d40aab5f751a93e4f8981003bc98a26ecc623d83..88f7ac1e9a946da993f348078a30c5ec111c2cd5 100644
--- a/util/misc/initialization_state_dcheck.h
+++ b/util/misc/initialization_state_dcheck.h
@@ -162,7 +162,7 @@ class InitializationStateDcheck : public InitializationState {
// 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.
-typedef bool InitializationStateDcheck[0];
+using InitializationStateDcheck = bool[0];
namespace internal {
« no previous file with comments | « util/mach/symbolic_constants_mach_test.cc ('k') | util/misc/symbolic_constants_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698