# HG changeset patch # User Rik # Date 1565986413 25200 # Node ID 254d6e33a1d07a7857610ee90aea176bddcbab2c # Parent 6eba4cf92af0f2b4e4b60dae351cbf4951c3ad91 Cleanups to octave_value_list implementation (bug #56752). * ovl.h (octave_value_list (const OV_Container): Use range constructor of std::vector rather than a manual for-loop to initialize vector. * ovl.h (array_value): Use empty() member function rather than test on numel() > 0 for readability. Use xelem() for potential performance improvement when copying in to Array object. diff -r 6eba4cf92af0 -r 254d6e33a1d0 libinterp/octave-value/ovl.h --- a/libinterp/octave-value/ovl.h Fri Aug 16 12:51:42 2019 -0400 +++ b/libinterp/octave-value/ovl.h Fri Aug 16 13:13:33 2019 -0700 @@ -56,13 +56,7 @@ template