Make do_is_mi_like_p const.
[deliverable/binutils-gdb.git] / gdb / ui-out.h
index a415100d7ea0401f2d955cac2a1b16cf789467c1..81e2e0b20db27c027ea59419e5d232b5b688d98e 100644 (file)
@@ -119,7 +119,7 @@ class ui_out
      a hack to encapsulate that test.  Once GDB manages to separate the
      CLI/MI from the core of GDB the problem should just go away ....  */
 
-  bool is_mi_like_p ();
+  bool is_mi_like_p () const;
 
   bool query_table_field (int colno, int *width, int *alignment,
                          const char **col_name);
@@ -157,7 +157,7 @@ class ui_out
   /* Set as not MI-like by default.  It is overridden in subclasses if
      necessary.  */
 
-  virtual bool do_is_mi_like_p ()
+  virtual bool do_is_mi_like_p () const
   { return false; }
 
  private:
This page took 0.026217 seconds and 4 git commands to generate.