This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 20/22] Class-ify ui_out_table
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: gdb-patches at sourceware dot org
- Date: Sat, 26 Nov 2016 12:18:30 -0500
- Subject: Re: [PATCH 20/22] Class-ify ui_out_table
- Authentication-results: sourceware.org; auth=none
- References: <20161124152428.24725-1-simon.marchi@polymtl.ca> <20161124153228.25177-20-simon.marchi@polymtl.ca>
On 2016-11-24 10:32, Simon Marchi wrote:
+ /* States (steps) of a table generation. */
+
+ enum state
+ {
+ /* We are generating the table headers. */
+ TABLE_STATE_HEADERS,
+
+ /* We are generating the table body. */
+ TABLE_STATE_BODY,
+ };
I changed the enum to:
/* States (steps) of a table generation. */
enum class state
{
/* We are generating the table headers. */
HEADERS,
/* We are generating the table body. */
BODY,
};
and adjusted the references.