mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-19 16:47:14 +02:00
Make move constructor noexcept.
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user