Fix c++17 noexcept compiler errors. am: 8bce8495c0

Original change: https://android-review.googlesource.com/c/platform/external/openscreen/+/1558660

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib7e740f31fcac07369b6456f2b1cb06ee8dd032d
diff --git a/discovery/mdns/mdns_records.cc b/discovery/mdns/mdns_records.cc
index 9923d2c..4768e2e 100644
--- a/discovery/mdns/mdns_records.cc
+++ b/discovery/mdns/mdns_records.cc
@@ -115,7 +115,7 @@
 
 DomainName::DomainName(const DomainName& other) = default;
 
-DomainName::DomainName(DomainName&& other) = default;
+DomainName::DomainName(DomainName&& other) noexcept = default;
 
 DomainName& DomainName::operator=(const DomainName& rhs) = default;
 
@@ -196,7 +196,7 @@
 
 RawRecordRdata::RawRecordRdata(const RawRecordRdata& other) = default;
 
-RawRecordRdata::RawRecordRdata(RawRecordRdata&& other) = default;
+RawRecordRdata::RawRecordRdata(RawRecordRdata&& other) noexcept = default;
 
 RawRecordRdata& RawRecordRdata::operator=(const RawRecordRdata& rhs) = default;
 
@@ -228,7 +228,7 @@
 
 SrvRecordRdata::SrvRecordRdata(const SrvRecordRdata& other) = default;
 
-SrvRecordRdata::SrvRecordRdata(SrvRecordRdata&& other) = default;
+SrvRecordRdata::SrvRecordRdata(SrvRecordRdata&& other) noexcept = default;
 
 SrvRecordRdata& SrvRecordRdata::operator=(const SrvRecordRdata& rhs) = default;
 
@@ -260,7 +260,7 @@
 
 ARecordRdata::ARecordRdata(const ARecordRdata& other) = default;
 
-ARecordRdata::ARecordRdata(ARecordRdata&& other) = default;
+ARecordRdata::ARecordRdata(ARecordRdata&& other) noexcept = default;
 
 ARecordRdata& ARecordRdata::operator=(const ARecordRdata& rhs) = default;
 
@@ -291,7 +291,7 @@
 
 AAAARecordRdata::AAAARecordRdata(const AAAARecordRdata& other) = default;
 
-AAAARecordRdata::AAAARecordRdata(AAAARecordRdata&& other) = default;
+AAAARecordRdata::AAAARecordRdata(AAAARecordRdata&& other) noexcept = default;
 
 AAAARecordRdata& AAAARecordRdata::operator=(const AAAARecordRdata& rhs) =
     default;
@@ -319,7 +319,7 @@
 
 PtrRecordRdata::PtrRecordRdata(const PtrRecordRdata& other) = default;
 
-PtrRecordRdata::PtrRecordRdata(PtrRecordRdata&& other) = default;
+PtrRecordRdata::PtrRecordRdata(PtrRecordRdata&& other) noexcept = default;
 
 PtrRecordRdata& PtrRecordRdata::operator=(const PtrRecordRdata& rhs) = default;
 
@@ -372,7 +372,7 @@
 
 TxtRecordRdata::TxtRecordRdata(const TxtRecordRdata& other) = default;
 
-TxtRecordRdata::TxtRecordRdata(TxtRecordRdata&& other) = default;
+TxtRecordRdata::TxtRecordRdata(TxtRecordRdata&& other) noexcept = default;
 
 TxtRecordRdata& TxtRecordRdata::operator=(const TxtRecordRdata& rhs) = default;
 
@@ -441,7 +441,7 @@
 
 NsecRecordRdata::NsecRecordRdata(const NsecRecordRdata& other) = default;
 
-NsecRecordRdata::NsecRecordRdata(NsecRecordRdata&& other) = default;
+NsecRecordRdata::NsecRecordRdata(NsecRecordRdata&& other) noexcept = default;
 
 NsecRecordRdata& NsecRecordRdata::operator=(const NsecRecordRdata& rhs) =
     default;
@@ -523,7 +523,7 @@
 
 OptRecordRdata::OptRecordRdata(const OptRecordRdata& other) = default;
 
-OptRecordRdata::OptRecordRdata(OptRecordRdata&& other) = default;
+OptRecordRdata::OptRecordRdata(OptRecordRdata&& other) noexcept = default;
 
 OptRecordRdata& OptRecordRdata::operator=(const OptRecordRdata& rhs) = default;
 
@@ -571,7 +571,7 @@
 
 MdnsRecord::MdnsRecord(const MdnsRecord& other) = default;
 
-MdnsRecord::MdnsRecord(MdnsRecord&& other) = default;
+MdnsRecord::MdnsRecord(MdnsRecord&& other) noexcept = default;
 
 MdnsRecord& MdnsRecord::operator=(const MdnsRecord& rhs) = default;
 
diff --git a/platform/base/udp_packet.cc b/platform/base/udp_packet.cc
index 0410c9f..7ef620c 100644
--- a/platform/base/udp_packet.cc
+++ b/platform/base/udp_packet.cc
@@ -19,7 +19,7 @@
   assert(size <= kUdpMaxPacketSize);
 }
 
-UdpPacket::UdpPacket(UdpPacket&& other) = default;
+UdpPacket::UdpPacket(UdpPacket&& other) noexcept = default;
 
 UdpPacket::UdpPacket(std::initializer_list<uint8_t> init)
     : std::vector<uint8_t>(init) {