diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2020-12-06 00:14:17 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2020-12-06 00:22:40 +0000 |
commit | 12dcdaaa54b9a4c55384e6b04379da8125fa6e7d (patch) | |
tree | bf2c64baa3c7642c7b5a716ba788936b22e6f447 /src/init.h | |
parent | f35e4d906fee907f28ac5d8f32d4948e6b7b14c3 (diff) |
Don't make "in" parameters look like "out"/"in-out" parameters: pass by ref to const instead of ref to non-const
Diffstat (limited to 'src/init.h')
-rw-r--r-- | src/init.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.h b/src/init.h index 679e875da1..c04d966d06 100644 --- a/src/init.h +++ b/src/init.h @@ -33,7 +33,7 @@ void InitParameterInteraction(ArgsManager& args); * @note This can be done before daemonization. Do not call Shutdown() if this function fails. * @pre Parameters should be parsed and config file should be read. */ -bool AppInitBasicSetup(ArgsManager& args); +bool AppInitBasicSetup(const ArgsManager& args); /** * Initialization: parameter interaction. * @note This can be done before daemonization. Do not call Shutdown() if this function fails. |