mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-16 20:11:47 +08:00
Whoops, apparently I do not know how to use swap
This commit is contained in:
parent
a3172ec584
commit
818d580531
@ -116,7 +116,7 @@ namespace Spine
|
||||
{
|
||||
for (size_t i = inIndex; i < _size; ++i)
|
||||
{
|
||||
_buffer[i] = std::swap(_buffer[i + 1]);
|
||||
std::swap(_buffer[i], _buffer[i + 1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user