aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-05-31 17:15:38 +0200
committerWladimir J. van der Laan <[email protected]>2017-05-31 17:16:16 +0200
commit5dd69ce55109ee964f46b392a3a0cc39979f1f59 (patch)
treee63da8bd8c084140ecbe207e1836110607286015 /src
parentMerge #10461: Update style guide (diff)
parent[trivial] Fix comment for ForceSetArg() (diff)
downloaddiscoin-5dd69ce55109ee964f46b392a3a0cc39979f1f59.tar.xz
discoin-5dd69ce55109ee964f46b392a3a0cc39979f1f59.zip
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 229478d83..4386ddd55 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);
};