aboutsummaryrefslogtreecommitdiff
path: root/src/stable/list.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2021-08-18 22:11:41 -0700
committerMike Buland <eichlan@xagasoft.com>2021-08-18 22:11:41 -0700
commit345926296f748db5ff283ce69c0ed4d563fcc8ff (patch)
tree3aa50962107cb903bbf30bb2540c19d25bda5adf /src/stable/list.h
parent52833d24ba86c3e0fe90a12d65f6dc529e9280b7 (diff)
downloadlibbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.gz
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.bz2
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.xz
libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.zip
Updating issues discovered using g++ 10
Diffstat (limited to 'src/stable/list.h')
-rw-r--r--src/stable/list.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/stable/list.h b/src/stable/list.h
index 9381297..c1a5559 100644
--- a/src/stable/list.h
+++ b/src/stable/list.h
@@ -269,6 +269,12 @@ namespace Bu
269 return lNew; 269 return lNew;
270 } 270 }
271 271
272 MyType &operator=( const MyType &src )
273 {
274 SharedCore<MyType, Core>::_softCopy( src );
275 return *this;
276 }
277
272 bool operator==( const MyType &rhs ) const 278 bool operator==( const MyType &rhs ) const
273 { 279 {
274 if( getSize() != rhs.getSize() ) 280 if( getSize() != rhs.getSize() )
@@ -678,6 +684,11 @@ namespace Bu
678 pLink( i.pLink ) 684 pLink( i.pLink )
679 { 685 {
680 } 686 }
687
688 const_iterator( const const_iterator &i ) :
689 pLink( i.pLink )
690 {
691 }
681 692
682 bool operator==( const const_iterator &oth ) const 693 bool operator==( const const_iterator &oth ) const
683 { 694 {