DoublyLinkedQueue: Adjust whitespace.
No functional change.
This commit is contained in:
@@ -26,11 +26,11 @@
|
|||||||
template<typename Element,
|
template<typename Element,
|
||||||
typename GetLink = DoublyLinkedListStandardGetLink<Element> >
|
typename GetLink = DoublyLinkedListStandardGetLink<Element> >
|
||||||
class DoublyLinkedQueue {
|
class DoublyLinkedQueue {
|
||||||
private:
|
private:
|
||||||
typedef DoublyLinkedQueue<Element, GetLink> Queue;
|
typedef DoublyLinkedQueue<Element, GetLink> Queue;
|
||||||
typedef DoublyLinkedListLink<Element> Link;
|
typedef DoublyLinkedListLink<Element> Link;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
class Iterator {
|
class Iterator {
|
||||||
public:
|
public:
|
||||||
Iterator(Queue *queue)
|
Iterator(Queue *queue)
|
||||||
@@ -132,7 +132,7 @@ class DoublyLinkedQueue {
|
|||||||
Element *fNext;
|
Element *fNext;
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DoublyLinkedQueue() : fFirst(NULL) {}
|
DoublyLinkedQueue() : fFirst(NULL) {}
|
||||||
~DoublyLinkedQueue() {}
|
~DoublyLinkedQueue() {}
|
||||||
|
|
||||||
@@ -164,7 +164,7 @@ class DoublyLinkedQueue {
|
|||||||
inline Iterator GetIterator() { return Iterator(this); }
|
inline Iterator GetIterator() { return Iterator(this); }
|
||||||
inline ConstIterator GetIterator() const { return ConstIterator(this); }
|
inline ConstIterator GetIterator() const { return ConstIterator(this); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Element *fFirst;
|
Element *fFirst;
|
||||||
|
|
||||||
static GetLink sGetLink;
|
static GetLink sGetLink;
|
||||||
|
|||||||
Reference in New Issue
Block a user