Inline constructors and initializers
authorTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 20:06:18 +0000 (14:06 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:31 +0000 (07:48 -0600)
commit63901aeccf923abaca02c8a58b1141d3859d7247
treed30e96c739cfbf257d03ffa455b1367ac022265c
parentceb13a13822b28d8e1cdc2e02975bb6569d3d8e6
Inline constructors and initializers

This inlines the constructors and initializers for tui_cmd_window and
tui_data_window.  This makes the code a bit simpler.

gdb/ChangeLog
2019-06-25  Tom Tromey  <tom@tromey.com>

* tui/tui-data.h (struct tui_data_window, struct tui_cmd_window):
Inline constructor.  Add initializers for members.
* tui/tui-data.c (tui_data_window, tui_cmd_window): Remove
constructors; now inline in class.
gdb/ChangeLog
gdb/tui/tui-data.c
gdb/tui/tui-data.h