1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Make move constructor noexcept.

This commit is contained in:
Sandu Liviu Catalin 2021-01-31 14:08:48 +02:00
parent be557939a9
commit a5b83ddf9e

View File

@ -74,7 +74,7 @@ struct LightObj {
/// \param so LightObj to move
///
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
LightObj(LightObj&& so) : mObj(so.mObj) {
LightObj(LightObj&& so) noexcept : mObj(so.mObj) {
sq_resetobject(&so.mObj);
}