aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stable/string.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stable/string.h b/src/stable/string.h
index 282624c..54cd2bc 100644
--- a/src/stable/string.h
+++ b/src/stable/string.h
@@ -346,6 +346,16 @@ namespace Bu
346 { 346 {
347 return !(*this == i); 347 return !(*this == i);
348 } 348 }
349
350 bool operator==( const const_iterator &i ) const
351 {
352 return pChunk == i.pChunk && iPos == i.iPos;
353 }
354
355 bool operator!=( const const_iterator &i ) const
356 {
357 return !(*this == i);
358 }
349 359
350 iterator &operator=( const iterator &i ) 360 iterator &operator=( const iterator &i )
351 { 361 {