fix clang-compiler warning: wrong move constructor.
parent
2d0f8093d8
commit
4283e61189
|
@ -358,15 +358,15 @@ struct Texture {
|
||||||
}
|
}
|
||||||
|
|
||||||
Texture(Texture &&other) AI_NO_EXCEPT : mTextureBlend(std::move(other.mTextureBlend)),
|
Texture(Texture &&other) AI_NO_EXCEPT : mTextureBlend(std::move(other.mTextureBlend)),
|
||||||
mMapName(std::move(mMapName)),
|
mMapName(std::move(other.mMapName)),
|
||||||
mOffsetU(std::move(mOffsetU)),
|
mOffsetU(std::move(other.mOffsetU)),
|
||||||
mOffsetV(std::move(mOffsetV)),
|
mOffsetV(std::move(other.mOffsetV)),
|
||||||
mScaleU(std::move(mScaleU)),
|
mScaleU(std::move(other.mScaleU)),
|
||||||
mScaleV(std::move(mScaleV)),
|
mScaleV(std::move(other.mScaleV)),
|
||||||
mRotation(std::move(mRotation)),
|
mRotation(std::move(other.mRotation)),
|
||||||
mMapMode(std::move(mMapMode)),
|
mMapMode(std::move(other.mMapMode)),
|
||||||
bPrivate(std::move(bPrivate)),
|
bPrivate(std::move(other.bPrivate)),
|
||||||
iUVSrc(std::move(iUVSrc)) {
|
iUVSrc(std::move(other.iUVSrc)) {
|
||||||
// empty
|
// empty
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue