diff liboctave/numeric/sparse-qr.h @ 30508:6f07492c9c20 stable

Provide header file with forward declarations of matrix types (bug #59820). * liboctave/array/mx-fwd.h: New file. * liboctave/array/module.mk: Add new file to build system. * other files in liboctave: Include mx-fwd.h instead of forward declaring matrix types.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 06 Dec 2021 19:27:28 +0100
parents bd67d0045e21
children 796f54d4ddbf
line wrap: on
line diff
--- a/liboctave/numeric/sparse-qr.h	Fri Dec 17 21:30:46 2021 +0100
+++ b/liboctave/numeric/sparse-qr.h	Mon Dec 06 19:27:28 2021 +0100
@@ -32,12 +32,7 @@
 
 #include "oct-cmplx.h"
 #include "MArray-fwd.h"
-
-class Matrix;
-class ComplexMatrix;
-class SparseMatrix;
-class SparseComplexMatrix;
-class ColumnVector;
+#include "mx-fwd.h"
 
 namespace octave
 {