Mercurial > octave
changeset 29948:c92a4ebaa777
Remove OCTAVE_API from functions that are tagged with =delete or =default.
* liboctave/array/Sparse.h, liboctave/numeric/sparse-qr.h: Don't export
functions that are tagged with =delete or =default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 09 Aug 2021 16:30:48 +0200 |
parents | 133abbad39d2 |
children | f254c302bb9c |
files | liboctave/array/Sparse.h liboctave/numeric/sparse-qr.h |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/array/Sparse.h Sun Aug 08 21:17:35 2021 +0200 +++ b/liboctave/array/Sparse.h Mon Aug 09 16:30:48 2021 +0200 @@ -164,7 +164,7 @@ // No assignment! - OCTAVE_API SparseRep& operator = (const SparseRep&) = delete; + SparseRep& operator = (const SparseRep&) = delete; }; //--------------------------------------------------------------------
--- a/liboctave/numeric/sparse-qr.h Sun Aug 08 21:17:35 2021 +0200 +++ b/liboctave/numeric/sparse-qr.h Mon Aug 09 16:30:48 2021 +0200 @@ -63,11 +63,11 @@ OCTAVE_API sparse_qr (const SPARSE_T& a, int order = 0); #endif - OCTAVE_API sparse_qr (const sparse_qr& a) = default; + sparse_qr (const sparse_qr& a) = default; - OCTAVE_API ~sparse_qr (void) = default; + ~sparse_qr (void) = default; - OCTAVE_API sparse_qr& operator = (const sparse_qr& a) = default; + sparse_qr& operator = (const sparse_qr& a) = default; OCTAVE_API bool ok (void) const;