| 545 | } |
| 546 | |
| 547 | bool ArgsManager::SoftSetArg(const std::string &strArg, |
| 548 | const std::string &strValue) { |
| 549 | LOCK(cs_args); |
| 550 | if (IsArgSet(strArg)) { |
| 551 | return false; |
| 552 | } |
| 553 | ForceSetArg(strArg, strValue); |
| 554 | return true; |
| 555 | } |
| 556 | |
| 557 | bool ArgsManager::SoftSetBoolArg(const std::string &strArg, bool fValue) { |
| 558 | if (fValue) { |
no outgoing calls