File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3497,8 +3497,9 @@ class objConfig : public Object {
3497
3497
if (!group.compare (Group)) {
3498
3498
if (auto it = keys.find (Key); it != keys.end ()) {
3499
3499
it->second .assign (Value);
3500
- return ERR::Okay;
3501
3500
}
3501
+ else keys.emplace (Key, Value);
3502
+ return ERR::Okay;
3502
3503
}
3503
3504
}
3504
3505
Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ inline ENUMTYPE &operator &= (ENUMTYPE &a, ENUMTYPE b) { return (ENUMTYPE &)(((_
114
114
flags("VOLUME", { comment="Options for SetVolume()" },
115
115
"REPLACE: If the volume already exists, all paths that are attached to it will be replaced with the new path setting.",
116
116
"PRIORITY: If the volume already exists, the path will be inserted at the beginning of the path list so that it has priority over the others.",
117
- "HIDDEN: Hides the volume so that it will not show up when reading the root folder .",
118
- "SYSTEM: Identifies the volume as being created by the system, is immutable and persistent between sessions .")
117
+ "HIDDEN: Hides the volume so that it will not show up when reading volumes from the root path `:` .",
118
+ "SYSTEM: Identifies the volume as being created by the system (this flag is not for client use) .")
119
119
120
120
flags("FDL", { comment="Options for the File Delete() method." },
121
121
"FEEDBACK: Automatically manage user feedback for deleting files by presenting dialog boxes.")
@@ -2061,8 +2061,9 @@ inline CLASSID Object::baseClassID() { return Class->BaseClassID; }
2061
2061
if (!group.compare(Group)) {
2062
2062
if (auto it = keys.find(Key); it != keys.end()) {
2063
2063
it->second.assign(Value);
2064
- return ERR::Okay;
2065
2064
}
2065
+ else keys.emplace(Key, Value);
2066
+ return ERR::Okay;
2066
2067
}
2067
2068
}
2068
2069
You can’t perform that action at this time.
0 commit comments