aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validatorlist.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-04-23 01:15:25 +0200
committerRenaud G <renaud@rolisteam.org>2020-04-23 01:16:18 +0200
commit77af40ce6cfff3a847f8bb06fe462c3f427bc582 (patch)
treec2e1fba140b01fb293b0e9b58da1418cedabb53d /validatorlist.cpp
parent2e8ce92904e164f13a8bf9397dfbe84c198a13aa (diff)
downloadOneRoll-77af40ce6cfff3a847f8bb06fe462c3f427bc582.tar.gz
OneRoll-77af40ce6cfff3a847f8bb06fe462c3f427bc582.zip
Fix compilation
Diffstat (limited to 'validatorlist.cpp')
-rw-r--r--validatorlist.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/validatorlist.cpp b/validatorlist.cpp
index 4aab320..50a989d 100644
--- a/validatorlist.cpp
+++ b/validatorlist.cpp
@@ -21,8 +21,8 @@
***************************************************************************/
#include "validatorlist.h"
-#include "diceresult.h"
-#include "result.h"
+#include "result/diceresult.h"
+#include "result/result.h"
#include "validator.h"
#include <utility>
@@ -182,7 +182,8 @@ QString ValidatorList::toString()
return QString("[%1%2]").arg(str).arg(m_value);*/
return str;
}
-namespace {
+namespace
+{
Dice::CONDITION_STATE testAND(Dice::CONDITION_STATE before, Dice::CONDITION_STATE current)
{
if(before == Dice::CONDITION_STATE::UNREACHABLE || current == Dice::CONDITION_STATE::UNREACHABLE)