aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2023-07-21 20:32:58 -0700
committerMike Buland <eichlan@xagasoft.com>2023-07-21 20:32:58 -0700
commit5843905b73616abe5d3180c7fb1c6dfefde93b3c (patch)
tree3ab8ae7c0c063806b349a793102a902b6f35de3d /src
parent0ac3b14362273c23836f54b9ee0995420eeac349 (diff)
downloadlibbu++-5843905b73616abe5d3180c7fb1c6dfefde93b3c.tar.gz
libbu++-5843905b73616abe5d3180c7fb1c6dfefde93b3c.tar.bz2
libbu++-5843905b73616abe5d3180c7fb1c6dfefde93b3c.tar.xz
libbu++-5843905b73616abe5d3180c7fb1c6dfefde93b3c.zip
Array has delete by index now.
Diffstat (limited to '')
-rw-r--r--src/stable/array.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stable/array.h b/src/stable/array.h
index ca66213..86b57d9 100644
--- a/src/stable/array.h
+++ b/src/stable/array.h
@@ -687,6 +687,12 @@ namespace Bu
687 _hardCopy(); 687 _hardCopy();
688 core->erase( i.iPos ); 688 core->erase( i.iPos );
689 } 689 }
690
691 void erase( int i )
692 {
693 _hardCopy();
694 core->erase( i );
695 }
690 696
691 void erase( const value &v ) 697 void erase( const value &v )
692 { 698 {