diff --git a/src/prevector.h b/src/prevector.h index f36cfe4ff6..d3e4b8fd0d 100644 --- a/src/prevector.h +++ b/src/prevector.h @@ -264,7 +264,7 @@ public: fill(item_ptr(0), other.begin(), other.end()); } - prevector(prevector&& other) { + prevector(prevector&& other) noexcept { swap(other); } @@ -276,7 +276,7 @@ public: return *this; } - prevector& operator=(prevector&& other) { + prevector& operator=(prevector&& other) noexcept { swap(other); return *this; }