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

Unified Diff: util/mach/exception_ports.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/exc_server_variants_test.cc ('k') | util/mach/symbolic_constants_mach_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/exception_ports.h
diff --git a/util/mach/exception_ports.h b/util/mach/exception_ports.h
index 2c4983d722e65f11e03f4fa112a63d38df5186e6..d82ac2dcf5d48aa886cb149020bd5ec1888f7c42 100644
--- a/util/mach/exception_ports.h
+++ b/util/mach/exception_ports.h
@@ -153,7 +153,7 @@ class ExceptionPorts {
const char* TargetTypeName() const;
private:
- typedef kern_return_t (*GetExceptionPortsType)(mach_port_t,
+ using GetExceptionPortsType = kern_return_t(*)(mach_port_t,
exception_mask_t,
exception_mask_array_t,
mach_msg_type_number_t*,
@@ -161,7 +161,7 @@ class ExceptionPorts {
exception_behavior_array_t,
exception_flavor_array_t);
- typedef kern_return_t (*SetExceptionPortsType)(mach_port_t,
+ using SetExceptionPortsType = kern_return_t(*)(mach_port_t,
exception_mask_t,
exception_handler_t,
exception_behavior_t,
« no previous file with comments | « util/mach/exc_server_variants_test.cc ('k') | util/mach/symbolic_constants_mach_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698