aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/groupnode.cpp2
-rw-r--r--node/groupnode.h1
2 files changed, 2 insertions, 1 deletions
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<DieGroup> 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<qint64> DieGroup;
+#include <QList>
class DieGroup : public QList<qint64>
{