mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 09:57:14 +01:00
Make move constructor noexcept.
This commit is contained in:
parent
be557939a9
commit
a5b83ddf9e
@ -74,7 +74,7 @@ struct LightObj {
|
|||||||
/// \param so LightObj to move
|
/// \param so LightObj to move
|
||||||
///
|
///
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
LightObj(LightObj&& so) : mObj(so.mObj) {
|
LightObj(LightObj&& so) noexcept : mObj(so.mObj) {
|
||||||
sq_resetobject(&so.mObj);
|
sq_resetobject(&so.mObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user