more guard fix
This commit is contained in:
parent
16f6266b7e
commit
fb557282f4
11
config.cpp
11
config.cpp
|
@ -106,11 +106,18 @@ template<> struct saver<ld> : dsaver<ld> {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
EX void addparam(ld& val, const string s) {
|
void addparam(ld& val, const string s);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if CAP_CONFIG
|
||||||
|
void addparam(ld& val, const string s) {
|
||||||
addsaver(val, s);
|
addsaver(val, s);
|
||||||
params.insert({s, val});
|
params.insert({s, val});
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
void addparam(ld& val, const string s) {
|
||||||
|
params.insert({s, val});
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
EX ld bounded_mine_percentage = 0.1;
|
EX ld bounded_mine_percentage = 0.1;
|
||||||
|
|
Loading…
Reference in New Issue