diff liboctave/dim-vector.h @ 10830:b4ebfd675321

avoid static initialization disaster in dim_vector
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 29 Jul 2010 08:47:26 +0200
parents 6683f0c9d742
children 298a75c128ad
line wrap: on
line diff
--- a/liboctave/dim-vector.h
+++ b/liboctave/dim-vector.h
@@ -219,7 +219,7 @@
 
 public:
 
-  static const octave_idx_type dim_max;
+  static octave_idx_type dim_max (void);
 
   explicit dim_vector (void) : rep (nil_rep ()) { count()++; }