packet: mark as noexcept move constructible

This commit is contained in:
Avi Kivity
2014-09-30 19:09:10 +03:00
parent dacf81745e
commit bc8a940dfa

View File

@@ -134,7 +134,7 @@ public:
// build empty packet
packet();
// move existing packet
packet(packet&& x);
packet(packet&& x) noexcept;
// copy data into packet
packet(char* data, size_t len);
// copy data into packet
@@ -202,7 +202,7 @@ private:
};
inline
packet::packet(packet&& x)
packet::packet(packet&& x) noexcept
: _impl(std::move(x._impl)) {
}