From 361c80d4d9047ead01a45cb8e9d90329f7af9b8b 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, 29 Jan 2015 14:05:51 +0800 Subject: [PATCH] bug fix --- TinySTL/Iterator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TinySTL/Iterator.h b/TinySTL/Iterator.h index 1e96f2a..e2457dc 100644 --- a/TinySTL/Iterator.h +++ b/TinySTL/Iterator.h @@ -96,7 +96,7 @@ namespace TinySTL{ return category(); } template - inline typename iterator_traits::value_type + inline typename iterator_traits::value_type* value_type(const Iterator& It){ return static_cast::value_type*>(0); }