Index: webrtc/modules/desktop_capture/mac/desktop_configuration.mm |
diff --git a/webrtc/modules/desktop_capture/mac/desktop_configuration.mm b/webrtc/modules/desktop_capture/mac/desktop_configuration.mm |
index 9e483e5b813e32f140d5769aac2667d7e6e358c0..54044c561b4d5de799dd5cf7ff1bc0e752f720c5 100644 |
--- a/webrtc/modules/desktop_capture/mac/desktop_configuration.mm |
+++ b/webrtc/modules/desktop_capture/mac/desktop_configuration.mm |
@@ -85,17 +85,29 @@ MacDisplayConfiguration GetConfigurationForScreen(NSScreen* screen) { |
} // namespace |
-MacDisplayConfiguration::MacDisplayConfiguration() |
- : id(0), |
- dip_to_pixel_scale(1.0f) { |
-} |
- |
-MacDesktopConfiguration::MacDesktopConfiguration() |
- : dip_to_pixel_scale(1.0f) { |
-} |
- |
-MacDesktopConfiguration::~MacDesktopConfiguration() { |
-} |
+MacDisplayConfiguration::MacDisplayConfiguration() = default; |
+MacDisplayConfiguration::MacDisplayConfiguration( |
+ const MacDisplayConfiguration& other) = default; |
+MacDisplayConfiguration::MacDisplayConfiguration( |
+ MacDisplayConfiguration&& other) = default; |
+MacDisplayConfiguration::~MacDisplayConfiguration() = default; |
+ |
+MacDisplayConfiguration& MacDisplayConfiguration::operator=( |
+ const MacDisplayConfiguration& other) = default; |
+MacDisplayConfiguration& MacDisplayConfiguration::operator=( |
+ MacDisplayConfiguration&& other) = default; |
+ |
+MacDesktopConfiguration::MacDesktopConfiguration() = default; |
+MacDesktopConfiguration::MacDesktopConfiguration( |
+ const MacDesktopConfiguration& other) = default; |
+MacDesktopConfiguration::MacDesktopConfiguration( |
+ MacDesktopConfiguration&& other) = default; |
+MacDesktopConfiguration::~MacDesktopConfiguration() = default; |
+ |
+MacDesktopConfiguration& MacDesktopConfiguration::operator=( |
+ const MacDesktopConfiguration& other) = default; |
+MacDesktopConfiguration& MacDesktopConfiguration::operator=( |
+ MacDesktopConfiguration&& other) = default; |
// static |
MacDesktopConfiguration MacDesktopConfiguration::GetCurrent(Origin origin) { |