small improvement to deque-iterator interface

git-svn-id: svn://10.0.0.236/trunk@1889 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg
1998-05-19 01:51:24 +00:00
parent f86a872ab2
commit 0e475bb67c
4 changed files with 4 additions and 4 deletions

View File

@@ -249,7 +249,7 @@ nsDequeIterator::nsDequeIterator(const nsDequeIterator& aCopy) :
* @param aCopy is an iterator to be copied from
* @return *this
*/
nsDequeIterator& nsDequeIterator::operator=(nsDequeIterator& aCopy) {
nsDequeIterator& nsDequeIterator::operator=(const nsDequeIterator& aCopy) {
//queue's are already equal.
mIndex=aCopy.mIndex;
return *this;

View File

@@ -247,7 +247,7 @@ public:
* @param
* @return
*/
nsDequeIterator& operator=(nsDequeIterator& aCopy);
nsDequeIterator& operator=(const nsDequeIterator& aCopy);
/**
* preform ! operation against to iterators to test for equivalence

View File

@@ -249,7 +249,7 @@ nsDequeIterator::nsDequeIterator(const nsDequeIterator& aCopy) :
* @param aCopy is an iterator to be copied from
* @return *this
*/
nsDequeIterator& nsDequeIterator::operator=(nsDequeIterator& aCopy) {
nsDequeIterator& nsDequeIterator::operator=(const nsDequeIterator& aCopy) {
//queue's are already equal.
mIndex=aCopy.mIndex;
return *this;

View File

@@ -247,7 +247,7 @@ public:
* @param
* @return
*/
nsDequeIterator& operator=(nsDequeIterator& aCopy);
nsDequeIterator& operator=(const nsDequeIterator& aCopy);
/**
* preform ! operation against to iterators to test for equivalence