aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.bld4
-rw-r--r--src/stable/array.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/default.bld b/default.bld
index 8f21f6c..2077185 100644
--- a/default.bld
+++ b/default.bld
@@ -16,8 +16,8 @@ include "gensigs.bld";
16CXXFLAGS += "-ggdb -W -Wall -I."; 16CXXFLAGS += "-ggdb -W -Wall -I.";
17 17
18// Deep memory checks 18// Deep memory checks
19// CXXFLAGS += "-fsanitize=address -fno-omit-frame-pointer"; 19CXXFLAGS += "-fsanitize=address -fno-omit-frame-pointer";
20// LDFLAGS += "-fsanitize=address -fno-omit-frame-pointer"; 20LDFLAGS += "-fsanitize=address -fno-omit-frame-pointer";
21 21
22//CXXFLAGS += "-pg"; 22//CXXFLAGS += "-pg";
23//LDFLAGS += "-pg"; 23//LDFLAGS += "-pg";
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 {