changeset 30654:7ad57680a310 stable

declare function defined in header file as inline, not extern * data.h (do_class_concat): Declare function defined in header file as inline, not extern.
author John W. Eaton <jwe@octave.org>
date Tue, 18 Jan 2022 13:13:33 -0500
parents a3a52d968f71
children ac74380e9d46
files libinterp/corefcn/data.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/data.h	Mon Jan 17 17:53:37 2022 +0100
+++ b/libinterp/corefcn/data.h	Tue Jan 18 13:13:33 2022 -0500
@@ -43,7 +43,7 @@
 
 #if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)
 OCTAVE_DEPRECATED (7, "use 'octave::do_class_concat' instead")
-extern OCTINTERP_API octave_value
+inline OCTINTERP_API octave_value
 do_class_concat (const octave_value_list& ovl, const std::string& cattype,
                  int dim)
 {