# HG changeset patch # User Markus Mützel # Date 1639920978 -3600 # Node ID 84344af9b0199398e64e10ba8968f6f56ad4d988 # Parent 6f07492c9c20c6d41994689861cae0b85a60e65e 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. diff -r 6f07492c9c20 -r 84344af9b019 libinterp/octave-value/ov.h --- 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&)' 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&)' 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 ();