Mercurial > octave
changeset 30510:84344af9b019 stable
ov.h: Don't mark definitions in header with visibility flags.
* libinterp/octave-value/ov.h (old style octave_value range constructors): Don't
mark definitions in header with visibility flags. They will be defined in each
compilation unit that includes this header and don't need to (on Windows must
not) be exported.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 19 Dec 2021 14:36:18 +0100 |
parents | 6f07492c9c20 |
children | 1ec1f93ac16a 9b41aba64c12 |
files | libinterp/octave-value/ov.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov.h Mon Dec 06 19:27:28 2021 +0100 +++ b/libinterp/octave-value/ov.h Sun Dec 19 14:36:18 2021 +0100 @@ -302,14 +302,14 @@ #if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS) OCTAVE_DEPRECATED (7, "use 'octave_value (range<double>&)' instead") - OCTINTERP_API octave_value (double base, double limit, double inc) + octave_value (double base, double limit, double inc) : m_rep (make_range_rep_deprecated (base, inc, limit)) { maybe_mutate (); } OCTAVE_DEPRECATED (7, "use 'octave_value (range<double>&)' instead") - OCTINTERP_API octave_value (const Range& r, bool force_range = false) + octave_value (const Range& r, bool force_range = false) : m_rep (make_range_rep_deprecated (r, force_range)) { maybe_mutate ();