From 262c46395f6c1a5c298048bf72e352522b74af1e Mon Sep 17 00:00:00 2001 From: MASM fan Date: Fri, 7 Nov 2014 22:26:29 +0400 Subject: [PATCH] Fix LLVM compilation issues --- src/serialize.h | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/src/serialize.h b/src/serialize.h index 3b3dcd4..9dd8ebb 100644 --- a/src/serialize.h +++ b/src/serialize.h @@ -811,19 +811,6 @@ public: iterator insert(iterator it, const char& x=char()) { return vch.insert(it, x); } void insert(iterator it, size_type n, const char& x) { vch.insert(it, n, x); } - void insert(iterator it, const_iterator first, const_iterator last) - { - assert(last - first >= 0); - if (it == vch.begin() + nReadPos && (unsigned int)(last - first) <= nReadPos) - { - // special case for inserting at the front when there's room - nReadPos -= (last - first); - memcpy(&vch[nReadPos], &first[0], last - first); - } - else - vch.insert(it, first, last); - } - void insert(iterator it, std::vector::const_iterator first, std::vector::const_iterator last) { assert(last - first >= 0); -- 1.7.1