Fix build.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2020-01-20 13:51:56 +02:00
parent 4fd21d9067
commit 61edf4d91a

View File

@ -168,7 +168,7 @@ inline void Move(T &vector, int from, int to)
{ {
return; return;
} }
T * const b = vector.begin(); T::iterator b = vector.begin();
from < to ? std::rotate(b + from, b + from + 1, b + to + 1): from < to ? std::rotate(b + from, b + from + 1, b + to + 1):
std::rotate(b + to, b + from, b + from + 1); std::rotate(b + to, b + from, b + from + 1);
#else #else