mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-22 05:27:10 +02:00
Make move constructor noexcept.
This commit is contained in:
1 parent
be557939a9
commit
a5b83ddf9e
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user