diff libinterp/corefcn/help.h @ 23825:5111b1b5034d

avoid one-definition-rule warning (bug #51639) * help.h: Move forward declaration of interpreter class inside octave namespace.
author John W. Eaton <jwe@octave.org>
date Wed, 02 Aug 2017 16:11:44 -0400
parents b2d55b52ee51
children 194eb4bd202b
line wrap: on
line diff
--- a/libinterp/corefcn/help.h	Wed Aug 02 12:04:45 2017 -0700
+++ b/libinterp/corefcn/help.h	Wed Aug 02 16:11:44 2017 -0400
@@ -30,12 +30,13 @@
 
 class string_vector;
 
-class interpreter;
 class octave_value;
 class octave_value_list;
 
 namespace octave
 {
+  class interpreter;
+
   class help_system
   {
   public: