comparison liboctave/Array3.h @ 11570:57632dea2446

attempt better backward compatibility for Array constructors
author John W. Eaton <jwe@octave.org>
date Wed, 19 Jan 2011 17:55:56 -0500
parents fd0a3ac60b0e
children 12df7854fa7c
comparison
equal deleted inserted replaced
11569:7e9a111cae20 11570:57632dea2446
81 Array<T> tmp = Array<T>::sort (sidx, dim, mode); 81 Array<T> tmp = Array<T>::sort (sidx, dim, mode);
82 return Array3<T> (tmp, tmp.rows (), tmp.columns (), tmp.pages ()); 82 return Array3<T> (tmp, tmp.rows (), tmp.columns (), tmp.pages ());
83 } 83 }
84 }; 84 };
85 85
86 // If we're with GNU C++, issue a warning.
87 #ifdef __GNUC__
88 #warning Using Array3<T> is deprecated. Use Array<T> directly.
86 #endif 89 #endif
90
91 #endif