Add compare to best results in manage

This commit is contained in:
2023-09-20 12:51:19 +02:00
parent 68f22a673d
commit 03533461c8
8 changed files with 73 additions and 27 deletions

View File

@@ -10,7 +10,7 @@ namespace platform {
const int MAXL = 133;
class ReportConsole : public ReportBase {
public:
explicit ReportConsole(json data_, int index = -1) : ReportBase(data_), selectedIndex(index) {};
explicit ReportConsole(json data_, bool compare = false, int index = -1) : ReportBase(data_, compare), selectedIndex(index) {};
virtual ~ReportConsole() = default;
private:
int selectedIndex;