From 60e67a7cbd1945474eee9ddfbcc43e28ae2c4d5b Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 26 May 2011 02:05:03 +0200 Subject: [PATCH] Minor buffer_vector::const_iterator fix --- base/buffer_vector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/buffer_vector.hpp b/base/buffer_vector.hpp index e618878ac8..70be9015b3 100644 --- a/base/buffer_vector.hpp +++ b/base/buffer_vector.hpp @@ -174,7 +174,7 @@ public: } } - template void insert(T const * where, IterT beg, IterT end) + template void insert(const_iterator where, IterT beg, IterT end) { ptrdiff_t const pos = where - data(); ASSERT_GREATER_OR_EQUAL(pos, 0, ());