diff options
| author | 2019-08-02 20:48:24 +0200 | |
|---|---|---|
| committer | 2019-09-15 19:22:15 +0200 | |
| commit | 5d7af9271b6cea3b11e79c67da79b480767ba18a (patch) | |
| tree | db988b2f5334241d87fac3bebd09449c332be390 | |
| parent | c6dcdab6c6f8590771e90b2dc8515343d7d33e84 (diff) | |
| download | OneRoll-5d7af9271b6cea3b11e79c67da79b480767ba18a.tar.gz OneRoll-5d7af9271b6cea3b11e79c67da79b480767ba18a.zip | |
Improve readability
| -rw-r--r-- | node/groupnode.cpp | 2 | ||||
| -rw-r--r-- | node/groupnode.h | 1 |
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> { |