mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
dumb compilers build fix
This commit is contained in:
parent
d5171f62da
commit
b032122e58
2 changed files with 4 additions and 1 deletions
|
|
@ -133,6 +133,9 @@ namespace dynamic {
|
||||||
Map& put(std::string key, std::unique_ptr<List> value) {
|
Map& put(std::string key, std::unique_ptr<List> value) {
|
||||||
return put(key, List_sptr(value.release()));
|
return put(key, List_sptr(value.release()));
|
||||||
}
|
}
|
||||||
|
Map& put(std::string key, unsigned int value) {
|
||||||
|
return put(key, Value(static_cast<integer_t>(value)));
|
||||||
|
}
|
||||||
Map& put(std::string key, const Value& value);
|
Map& put(std::string key, const Value& value);
|
||||||
|
|
||||||
void remove(const std::string& key);
|
void remove(const std::string& key);
|
||||||
|
|
|
||||||
|
|
@ -317,7 +317,7 @@ public:
|
||||||
dynamic::Value value = dynamic::NONE;
|
dynamic::Value value = dynamic::NONE;
|
||||||
if (peek() == '~') {
|
if (peek() == '~') {
|
||||||
relative = true;
|
relative = true;
|
||||||
value = 0;
|
value = 0L;
|
||||||
nextChar();
|
nextChar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue