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

Unified Diff: base/mach_ipc_mac.h

Issue 3473006: Fix a bunch of clang warnings/errors. (Closed)
Patch Set: Created 10 years, 3 months 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: base/mach_ipc_mac.h
diff --git a/base/mach_ipc_mac.h b/base/mach_ipc_mac.h
index 91b9729db68451fd23cfc1c6e9d6f581ae99dcbf..d506a00c89d657e0c2262d9a8de43bc85dfcc9ca 100644
--- a/base/mach_ipc_mac.h
+++ b/base/mach_ipc_mac.h
@@ -114,12 +114,6 @@ class MachMsgPortDescriptor : public mach_msg_port_descriptor_t {
return disposition;
}
- // We're just a simple wrapper for mach_msg_port_descriptor_t
- // and have the same memory layout
- operator mach_msg_port_descriptor_t&() {
- return *this;
- }
-
// For convenience
operator mach_port_t() const {
return GetMachPort();

Powered by Google App Engine
This is Rietveld 408576698