bindings, controls.json file

This commit is contained in:
MihailRis
2023-11-19 22:37:15 +03:00
parent e3743b8463
commit 9051db3526
11 changed files with 186 additions and 22 deletions
+4
View File
@@ -258,6 +258,10 @@ JObject& JObject::put(string key, string value){
return *this;
}
JObject& JObject::put(std::string key, const char* value) {
return put(key, string(value));
}
JObject& JObject::put(string key, JObject* value){
auto found = map.find(key);
if (found != map.end()) delete found->second;