mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
bindings, controls.json file
This commit is contained in:
parent
e3743b8463
commit
9051db3526
11 changed files with 186 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue