1
0
Fork 0

disassembler: Remove mutable specifier from breakpoints member variable

Breakpoints has been const correct with regards to what the
DisassmblerModel needs for quite a while now.
This commit is contained in:
Lioncash 2016-12-21 14:09:58 -05:00
parent 29564d73bd
commit f2c307557a
1 changed files with 1 additions and 3 deletions

View File

@ -38,9 +38,7 @@ private:
unsigned int program_counter; unsigned int program_counter;
QModelIndex selection; QModelIndex selection;
BreakPoints breakpoints;
// TODO: Make BreakPoints less crappy (i.e. const-correct) so that this needn't be mutable.
mutable BreakPoints breakpoints;
}; };
class DisassemblerWidget : public QDockWidget { class DisassemblerWidget : public QDockWidget {