From 5d7af9271b6cea3b11e79c67da79b480767ba18a Mon Sep 17 00:00:00 2001 From: Renaud G Date: Fri, 2 Aug 2019 20:48:24 +0200 Subject: Improve readability --- node/groupnode.cpp | 2 +- node/groupnode.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'node') diff --git a/node/groupnode.cpp b/node/groupnode.cpp index 681db47..c779587 100644 --- a/node/groupnode.cpp +++ b/node/groupnode.cpp @@ -222,7 +222,7 @@ QList GroupNode::getGroup(DieGroup values) } else { - DieGroup::reverse_iterator it= values.rbegin(); + auto it= values.rbegin(); bool foundPerfect= false; qint64 cumuledValue= 0; DieGroup previousValue; diff --git a/node/groupnode.h b/node/groupnode.h index e09bf19..1872afa 100644 --- a/node/groupnode.h +++ b/node/groupnode.h @@ -25,6 +25,7 @@ #include "node/executionnode.h" #include "result/scalarresult.h" // typedef QList DieGroup; +#include class DieGroup : public QList { -- cgit v1.2.3-70-g09d2