From 4283e611892a1ea73a9ca31b07c977ebd3f62c2e Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sat, 21 Mar 2020 18:25:49 +0100 Subject: [PATCH] fix clang-compiler warning: wrong move constructor. --- code/3DS/3DSHelper.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/code/3DS/3DSHelper.h b/code/3DS/3DSHelper.h index fbc167caa..633cfbbf0 100644 --- a/code/3DS/3DSHelper.h +++ b/code/3DS/3DSHelper.h @@ -358,15 +358,15 @@ struct Texture { } Texture(Texture &&other) AI_NO_EXCEPT : mTextureBlend(std::move(other.mTextureBlend)), - mMapName(std::move(mMapName)), - mOffsetU(std::move(mOffsetU)), - mOffsetV(std::move(mOffsetV)), - mScaleU(std::move(mScaleU)), - mScaleV(std::move(mScaleV)), - mRotation(std::move(mRotation)), - mMapMode(std::move(mMapMode)), - bPrivate(std::move(bPrivate)), - iUVSrc(std::move(iUVSrc)) { + mMapName(std::move(other.mMapName)), + mOffsetU(std::move(other.mOffsetU)), + mOffsetV(std::move(other.mOffsetV)), + mScaleU(std::move(other.mScaleU)), + mScaleV(std::move(other.mScaleV)), + mRotation(std::move(other.mRotation)), + mMapMode(std::move(other.mMapMode)), + bPrivate(std::move(other.bPrivate)), + iUVSrc(std::move(other.iUVSrc)) { // empty }