Make tui_gen_win_info constructor protected
[external/binutils.git] / gdb / tui / tui-data.h
index b7cf05c..8991a4a 100644 (file)
@@ -34,11 +34,15 @@ struct tui_point
 /* Generic window information.  */
 struct tui_gen_win_info
 {
+protected:
+
   explicit tui_gen_win_info (enum tui_win_type t)
     : type (t)
   {
   }
 
+public:
+
   virtual ~tui_gen_win_info ();
 
   /* Call to refresh this window.  */