Change tui_data_item_window::content to be a unique_xmalloc_ptr
[external/binutils.git] / gdb / type-stack.h
index 672ad05..dce0323 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef TYPE_STACK_H
 #define TYPE_STACK_H
 
+#include "gdbtypes.h"
 #include <vector>
 
 struct type;
@@ -160,7 +161,7 @@ public:
      tp_pointer, and the new values are inserted above the first
      item.  */
 
-  void insert (struct expr_builder *pstate, char *string);
+  void insert (struct expr_builder *pstate, const char *string);
 
   /* Append the elements of the type stack FROM to the type stack
      THIS.  Always returns THIS.  */