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

Unified Diff: client/simulate_crash_mac.cc

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 | « client/simple_string_dictionary_test.cc ('k') | compat/mac/mach-o/getsect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/simulate_crash_mac.cc
diff --git a/client/simulate_crash_mac.cc b/client/simulate_crash_mac.cc
index eb9b010e1e0162802a1c7a2ca2f21c58f4cecd6f..b80355a4f161d3ff394892330aa61d90561720a5 100644
--- a/client/simulate_crash_mac.cc
+++ b/client/simulate_crash_mac.cc
@@ -71,7 +71,7 @@ bool DeliverException(thread_t thread,
}
// A const version of thread_state_t.
- typedef const natural_t* ConstThreadState;
+ using ConstThreadState = const natural_t*;
// old_state is only used if the context already captured doesn’t match (or
// can’t be converted to) what’s registered for the handler.
« no previous file with comments | « client/simple_string_dictionary_test.cc ('k') | compat/mac/mach-o/getsect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698