diff liboctave/Array.cc @ 9222:7bd406e12e4d

instantiate Array<void *> in liboctave * * * fix non-robust macro in Array.cc
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 20 May 2009 14:08:13 +0200
parents 472f0e22aa60
children 3c1762c7e787
line wrap: on
line diff
--- a/liboctave/Array.cc	Wed May 20 13:37:18 2009 +0200
+++ b/liboctave/Array.cc	Wed May 20 14:08:13 2009 +0200
@@ -2574,7 +2574,7 @@
 { return UNSORTED; } \
  \
 template <> octave_idx_type  \
-Array<T>::lookup (const T&, sortmode) const \
+Array<T>::lookup (T const &, sortmode) const \
 { return 0; } \
 template <> Array<octave_idx_type>  \
 Array<T>::lookup (const Array<T>&, sortmode, bool, bool) const \