aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-05-31 17:15:38 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-05-31 17:16:16 +0200
commit5dd69ce55109ee964f46b392a3a0cc39979f1f59 (patch)
treee63da8bd8c084140ecbe207e1836110607286015 /src
parent55b72f3880f2f7bc700cc6e407746ee32c9ec135 (diff)
parent42a83e5455fa571a7fad01682e35da20f3a27732 (diff)
downloadbitcoin-5dd69ce55109ee964f46b392a3a0cc39979f1f59.tar.xz
Merge #10479: [trivial] Fix comment for ForceSetArg()
42a83e5 [trivial] Fix comment for ForceSetArg() (John Newbery) Tree-SHA512: 596db8b4bb01bca18908e254e5b364d3d4fcb0ea49d7d54314c65106e497efed65a877d80740bff88e090aeb772be1e46d4571ecca9b9263578f3f680f0bd0ce
Diffstat (limited to 'src')
-rw-r--r--src/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 229478d835..4386ddd550 100644
--- a/src/util.h
+++ b/src/util.h
@@ -241,7 +241,8 @@ bool SoftSetArg(const std::string& strArg, const std::string& strValue);
*/
bool SoftSetBoolArg(const std::string& strArg, bool fValue);
-// Forces a arg setting, used only in testing
+// Forces an arg setting. Called by SoftSetArg() if the arg hasn't already
+// been set. Also called directly in testing.
void ForceSetArg(const std::string& strArg, const std::string& strValue);
};