changeset 12610:b5925d668a3a octave-forge

as it was this code did not compile with 4.0.0-rc4. now it does, and also does with 3.6.2 (just as previously).
author michelemartone
date Mon, 04 May 2015 17:18:06 +0000
parents c84a3b399d19
children 4f35a79fa79a
files main/sparsersb/src/sparsersb.cc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/sparsersb/src/sparsersb.cc	Mon May 04 15:55:09 2015 +0000
+++ b/main/sparsersb/src/sparsersb.cc	Mon May 04 17:18:06 2015 +0000
@@ -74,6 +74,7 @@
 #include <octave/ov-complex.h>
 #include <octave/ops.h>
 #include <octave/ov-typeinfo.h>
+#include <octave/oct-alloc.h> /* DECLARE_OCTAVE_ALLOCATOR */
 #if RSBOI_WANT_PRINT_PCT_OCTAVE_STYLE
 #include <iomanip>	// std::setprecision
 #endif
@@ -1223,7 +1224,7 @@
 }
 
 	private:
-
+	public:
 		DECLARE_OCTAVE_ALLOCATOR
 			DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
 };/* end of class octave_sparsersb_mtx definition  */