Mercurial > octave
diff libinterp/corefcn/error.h @ 29976:c44c72cc68a0
fix inline/extern declaration error in previous change
* error.h (warning_enabled): Declare deprecated wrapper function
inline, not extern.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 17 Aug 2021 00:13:44 -0400 |
parents | 939bef0b66e0 |
children | 973142706c0f |
line wrap: on
line diff
--- a/libinterp/corefcn/error.h Mon Aug 16 11:45:40 2021 -0700 +++ b/libinterp/corefcn/error.h Tue Aug 17 00:13:44 2021 -0400 @@ -549,7 +549,7 @@ } OCTAVE_DEPRECATED (7, "use 'octave::warning_enabled' instead") -extern OCTINTERP_API int warning_enabled (const std::string& id) +inline OCTINTERP_API int warning_enabled (const std::string& id) { return octave::warning_enabled (id); }