mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
params: unique default value (#35798)
* default * None vs "" * athena * more * more * this * better * better * now * name * better
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ ParamKeyType Params::getKeyType(const std::string &key) {
|
||||
return keys[key].type;
|
||||
}
|
||||
|
||||
std::string Params::getKeyDefaultValue(const std::string &key) {
|
||||
std::optional<std::string> Params::getKeyDefaultValue(const std::string &key) {
|
||||
return keys[key].default_value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user