Changed references of u_int64_t to uint64_t, to account for mingw
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9d5c6911b2
commit
e93bcab14d
|
@ -10,11 +10,11 @@ class BoundVariableKey{
|
|||
int _identifier;
|
||||
unsigned int _scopeId;
|
||||
bool _isCreation;
|
||||
u_int64_t _hash;
|
||||
uint64_t _hash;
|
||||
|
||||
static u_int64_t KnuthsHash(int i1, int i2)
|
||||
static uint64_t KnuthsHash(int i1, int i2)
|
||||
{
|
||||
u_int64_t ret = i1;
|
||||
uint64_t ret = i1;
|
||||
ret *= 2654435761U;
|
||||
return ret ^ i2;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ public:
|
|||
return _isCreation;
|
||||
}
|
||||
|
||||
u_int64_t GetHash(){
|
||||
uint64_t GetHash(){
|
||||
return _hash;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
EvaluationScope::EvaluationScope(unordered_map<size_t, shared_ptr<EvalValue>> *scriptVariables, int deepestScope) {
|
||||
_scriptScope = scriptVariables;
|
||||
_localScope = unordered_map<u_int64_t, shared_ptr<EvalValue>>(deepestScope);
|
||||
_localScope = unordered_map<uint64_t, shared_ptr<EvalValue>>(deepestScope);
|
||||
}
|
||||
|
||||
void EvaluationScope::CreateVariable(BoundVariableKey* key, const shared_ptr<EvalValue> &value) {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
class EvaluationScope {
|
||||
unordered_map<size_t, shared_ptr<EvalValue>>* _scriptScope;
|
||||
unordered_map<u_int64_t, shared_ptr<EvalValue>> _localScope;
|
||||
unordered_map<uint64_t, shared_ptr<EvalValue>> _localScope;
|
||||
public:
|
||||
explicit EvaluationScope(unordered_map<size_t, shared_ptr<EvalValue>>* scriptVariables, int deepestScope);
|
||||
~EvaluationScope() = default;
|
||||
|
|
Loading…
Reference in New Issue