Commit 0b4d99de authored by reichenbach's avatar reichenbach

[FIX] const functions should be marked const

parent 2460f478
......@@ -468,12 +468,12 @@ WFiberIterator WFiberIterator::operator--( int )
return t;
}
WFiberIterator WFiberIterator::operator+ ( size_t n )
WFiberIterator WFiberIterator::operator+ ( size_t n ) const
{
return WFiberIterator( m_fibers, m_index + n );
}
WFiberIterator WFiberIterator::operator- ( size_t n )
WFiberIterator WFiberIterator::operator- ( size_t n ) const
{
return WFiberIterator( m_fibers, m_index - n );
}
......
......@@ -631,14 +631,14 @@ public:
*
* \return The iterator on the new place.
*/
WFiberIterator operator+ ( size_t n );
WFiberIterator operator+ ( size_t n ) const;
/**
* Minus operator. Decrements the iterator \param n times.
*
* \return The iterator on the new place.
*/
WFiberIterator operator- ( size_t n );
WFiberIterator operator- ( size_t n ) const;
/**
* Compare to another fiber iterator.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment