From 61edf4d91acaaaa002bb596e9813186ab9075fad Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 20 Jan 2020 13:51:56 +0200 Subject: [PATCH] Fix build. --HG-- branch : develop --- src/libs/vmisc/compatibility.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vmisc/compatibility.h b/src/libs/vmisc/compatibility.h index da25b5139..2f920256f 100644 --- a/src/libs/vmisc/compatibility.h +++ b/src/libs/vmisc/compatibility.h @@ -168,7 +168,7 @@ inline void Move(T &vector, int from, int to) { return; } - T * const b = vector.begin(); + T::iterator b = vector.begin(); from < to ? std::rotate(b + from, b + from + 1, b + to + 1): std::rotate(b + to, b + from, b + from + 1); #else