From 1fec2796a86de1d551f6217b5ea1f48bf8a4dd68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=93=E8=88=AA?= <1210603696@qq.com> Date: Wed, 11 Feb 2015 14:36:47 +0800 Subject: [PATCH] =?UTF-8?q?fix=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TinySTL/List.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TinySTL/List.h b/TinySTL/List.h index febb068..99aef1b 100644 --- a/TinySTL/List.h +++ b/TinySTL/List.h @@ -20,7 +20,7 @@ namespace TinySTL{ node *next; list *container; node(const T& d, node *p, node *n, list *c): - data(d), prev(p), node(n), container(c){} + data(d), prev(p), next(n), container(c){} bool operator ==(const node& n){ return data == n.data && prev == n.prev && next == n.next && container == n.container; } -- GitLab