dumb compilers build fix

This commit is contained in:
MihailRis 2024-05-16 16:56:25 +03:00
parent d5171f62da
commit b032122e58
2 changed files with 4 additions and 1 deletions

View File

@ -133,6 +133,9 @@ namespace dynamic {
Map& put(std::string key, std::unique_ptr<List> value) {
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);
void remove(const std::string& key);

View File

@ -317,7 +317,7 @@ public:
dynamic::Value value = dynamic::NONE;
if (peek() == '~') {
relative = true;
value = 0;
value = 0L;
nextChar();
}