summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 04:06:02 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 04:06:02 +0300
commitb406b1a7717af8fd479d39133df35fb331880b61 (patch)
treef492a515aab66d77b1691c5f268eb1bea4122726
parent168c5203a1784f492f38185b872396dc4afacc7f (diff)
downloadManaVerse-b406b1a7717af8fd479d39133df35fb331880b61.tar.gz
ManaVerse-b406b1a7717af8fd479d39133df35fb331880b61.tar.bz2
ManaVerse-b406b1a7717af8fd479d39133df35fb331880b61.tar.xz
ManaVerse-b406b1a7717af8fd479d39133df35fb331880b61.zip
Fix compilation with old gcc/clang.
-rw-r--r--src/pincodemanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pincodemanager.h b/src/pincodemanager.h
index 37b7e6921..c1613fa7e 100644
--- a/src/pincodemanager.h
+++ b/src/pincodemanager.h
@@ -55,7 +55,7 @@ class PincodeManager final
void setAccountId(const BeingId id)
{ mAccountId = id; }
- void setState(const PincodeState state)
+ void setState(const PincodeStateT state)
{ mState = state; }
void changePincode(const std::string &pincode);
@@ -76,7 +76,7 @@ class PincodeManager final
uint32_t mSeed;
BeingId mAccountId;
Window *mDialog;
- PincodeState mState;
+ PincodeStateT mState;
};
extern PincodeManager pincodeManager;