libkorder MEX: mark Vector move constructor as noexcept
Automatically detected by clang-tidy with performance-noexcept-move-constructor check.mr#2177
parent
60c0ed0180
commit
00434c595d
|
@ -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)},
|
||||
|
|
Loading…
Reference in New Issue