Use swap instead of move (std::move was introduced in C++11)

This commit is contained in:
Stephen Gowen 2017-11-07 16:08:16 -05:00
parent 7c2b6b8271
commit a3172ec584

View File

@ -116,7 +116,7 @@ namespace Spine
{
for (size_t i = inIndex; i < _size; ++i)
{
_buffer[i] = std::move(_buffer[i + 1]);
_buffer[i] = std::swap(_buffer[i + 1]);
}
}