libkorder MEX: mark Vector move constructor as noexcept

Automatically detected by clang-tidy with performance-noexcept-move-constructor
check.
mr#2177
Sébastien Villemot 2023-12-12 18:08:59 +01:00
parent 60c0ed0180
commit 00434c595d
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public:
{
}
Vector(const Vector& v);
Vector(Vector&& v) :
Vector(Vector&& v) noexcept :
len {std::exchange(v.len, 0)},
s {v.s},
data {std::exchange(v.data, nullptr)},