This changes decode_line_2_item::selected to bool. There was no
benefit to keeping this as a bitfield, so I removed that. Note that
the constructor already uses bool here.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
/* The form using symtab_to_filename_for_display. */
std::string displayform;
- /* Field is initialized to zero and it is set to one if the user
- requested breakpoint for this entry. */
- unsigned int selected : 1;
+ /* True if the user requested breakpoint for this entry. */
+ bool selected;
};
/* Handle multiple results in RESULT depending on SELECT_MODE. This
if (!item->selected)
{
filters.push_back (item->fullform.c_str ());
- item->selected = 1;
+ item->selected = true;
}
else
{