Switched to new DoublyLinkedList class.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11193 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-02-02 02:35:16 +00:00
parent f42f300bd5
commit 164d84bb10
4 changed files with 11 additions and 12 deletions
+3 -5
View File
@@ -16,7 +16,7 @@
/** This is the base class for all VFS nodes */
class Node {
class Node : public DoublyLinkedListLinkImpl<Node> {
public:
Node();
virtual ~Node();
@@ -35,14 +35,12 @@ class Node {
status_t Acquire();
status_t Release();
DoublyLinked::Link fLink;
protected:
int32 fRefCount;
};
typedef DoublyLinked::List<Node> NodeList;
typedef DoublyLinked::Iterator<Node> NodeIterator;
typedef DoublyLinkedList<Node> NodeList;
typedef NodeList::Iterator NodeIterator;
class Directory : public Node {