mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Use swap instead of move (std::move was introduced in C++11)
This commit is contained in:
parent
7c2b6b8271
commit
a3172ec584
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user