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
+3
View File
@@ -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);
+1 -1
View File
@@ -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();
} }