Browse Source

Fixed template code in List.

Lasse Öörni 14 years ago
parent
commit
f556556ae3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/Container/List.h

+ 1 - 1
Engine/Container/List.h

@@ -241,7 +241,7 @@ public:
     {
         Iterator it = start;
         while (it != end)
-            it = EraseNode(static_cast<Node*>(current.ptr_));
+            it = EraseNode(static_cast<Node*>(it.ptr_));
         
         return it;
     }