diff libinterp/corefcn/oct-map.cc @ 23487:af2f1f3dbe06

eliminate --enable-bounds-check configure option * configure.ac (--enable-bounds-check): Warn that the option is obsolete. Don't define ENABLE_BOUNDS_CHECK. * install.txi: Document --enable-address-sanitizer-flags. Delete documentation for --enable-bounds-check. * toplev.cc (conf_info_struct): Don't include ENABLE_BOUNDS_CHECK in the struct. * oct-map.cc, oct-map.h, Array.cc, Array.h, DiagArray2.h, PermMatrix.h, Range.cc, Range.h, Sparse.h, dim-vector.h, idx-vector.h: Eliminate conditional code for bounds checking in operator ().
author John W. Eaton <jwe@octave.org>
date Thu, 11 May 2017 17:50:49 -0400
parents 855122b993da
children 80c42f4cca13
line wrap: on
line diff
--- a/libinterp/corefcn/oct-map.cc	Thu May 11 12:03:16 2017 -0700
+++ b/libinterp/corefcn/oct-map.cc	Thu May 11 17:50:49 2017 -0400
@@ -355,7 +355,7 @@
 }
 
 octave_scalar_map
-octave_map::checkelem (octave_idx_type n) const
+octave_map::elem (octave_idx_type n) const
 {
   octave_scalar_map retval (xkeys);
 
@@ -366,7 +366,7 @@
 }
 
 octave_scalar_map
-octave_map::checkelem (octave_idx_type i, octave_idx_type j) const
+octave_map::elem (octave_idx_type i, octave_idx_type j) const
 {
   octave_scalar_map retval (xkeys);
 
@@ -377,7 +377,7 @@
 }
 
 octave_scalar_map
-octave_map::checkelem (const Array<octave_idx_type>& ra_idx) const
+octave_map::elem (const Array<octave_idx_type>& ra_idx) const
 {
   octave_scalar_map retval (xkeys);