From 4a07567d32f2b8d49764d97fd4ac6457afeadf88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=93=E8=88=AA?= <1210603696@qq.com> Date: Thu, 16 Oct 2014 16:15:37 +0800 Subject: [PATCH] bug fix --- TinySTL/Vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TinySTL/Vector.h b/TinySTL/Vector.h index 87f9c20..cc9d4ca 100644 --- a/TinySTL/Vector.h +++ b/TinySTL/Vector.h @@ -247,7 +247,7 @@ namespace TinySTL{ auto temp = (last - lenOfRemoved); *temp = *(last++); } - return viter(first); + return (first); } template template