From af5996f99a674fd5416770f25f196fdb2f5873ad Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Thu, 16 Dec 2004 21:30:06 +0000 Subject: trying remove CRLF svn-id: r16088 --- saga/list.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'saga/list.h') diff --git a/saga/list.h b/saga/list.h index 397717c55c..4038c0f2fb 100644 --- a/saga/list.h +++ b/saga/list.h @@ -21,22 +21,18 @@ #ifndef SAGA_LIST_H__ #define SAGA_LIST_H__ - #include "common/list.h" namespace Saga { - template class SortedList : public Common::List { public: typedef int ( CompareFunction ) (const T& , const T&); - typedef typename Common::List::iterator iterator; typedef typename Common::List::const_iterator const_iterator; public: - iterator pushFront(const T& element) { return insert(Common::List::begin(), element); } @@ -91,7 +87,6 @@ public: while (i != Common::List::end()) { res = compareFunction(i.operator*(), pos.operator*()); if (res <= 0) { - T temp(*pos); erase(pos); ++i; @@ -110,7 +105,6 @@ public: while (i != Common::List::end()) { res = compareFunction(i.operator*(), pos.operator*()); if (res >= 0) { - T temp(*pos); erase(pos); return insert(i, temp); @@ -149,6 +143,5 @@ public: return false; } }; - } // End of namespace Saga #endif \ No newline at end of file -- cgit v1.2.3