diff libinterp/octave-value/ov.h @ 26078:0549d088f50e

move get_dims_str from variables.cc to octave_value class * ov.h, ov.cc (octave_value::get_dims_str): New function, moved here from variables.cc. Change all uses.
author John W. Eaton <jwe@octave.org>
date Thu, 15 Nov 2018 12:34:43 -0500
parents 6652d3823428
children f23f27e78aa2 00f796120a6d
line wrap: on
line diff
--- a/libinterp/octave-value/ov.h	Thu Nov 15 11:35:54 2018 -0800
+++ b/libinterp/octave-value/ov.h	Thu Nov 15 12:34:43 2018 -0500
@@ -466,8 +466,9 @@
 
   // Size.
 
-  dim_vector dims (void) const
-  { return rep->dims (); }
+  dim_vector dims (void) const { return rep->dims (); }
+
+  std::string get_dims_str (void) const;
 
   octave_idx_type rows (void) const { return rep->rows (); }