changeset 15432:3e101e8b3dac

Tweak deprecated attribute placement (cset:21467c7fc08f) to allow code to compile * liboctave/array/DiagArray2.h: __attribute__ for gcc needs to be the last statement before the semicolon.
author Rik <rik@octave.org>
date Fri, 21 Sep 2012 15:45:16 -0700
parents 21467c7fc08f
children 55ee1c97e10b
files liboctave/array/DiagArray2.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/array/DiagArray2.h
+++ b/liboctave/array/DiagArray2.h
@@ -97,7 +97,7 @@
 
   dim_vector dims (void) const { return dim_vector (d1, d2); }
 
-  Array<T> diag (octave_idx_type k = 0) GCC_ATTR_DEPRECATED const;
+  Array<T> diag (octave_idx_type k = 0) const GCC_ATTR_DEPRECATED;
   Array<T> extract_diag (octave_idx_type k = 0) const;
   DiagArray2<T> build_diag_matrix () const
   {