gdb: Add an overloaded ui_out::text accepting a const std::string &
[binutils-gdb.git] / gdb / ui-out.h
index f14be479fa15bfbb275d7f57d9d505b082d1a605..a06477df533051562ce588ca4a5d25216b699c98 100644 (file)
@@ -203,6 +203,7 @@ class ui_out
 
   void spaces (int numspaces);
   void text (const char *string);
+  void text (const std::string &string);
 
   /* Output a printf-style formatted string.  In addition to the usual
      printf format specs, this supports a few GDB-specific