diff options
| author | Anthony Towns <[email protected]> | 2018-03-29 15:02:00 +1000 |
|---|---|---|
| committer | Anthony Towns <[email protected]> | 2018-04-06 04:46:32 +1000 |
| commit | 6d5815aad0ee0614972f288cbd1c68386e801d5d (patch) | |
| tree | ddbe3bab22c6b8c98ccef97ef17ab88fa3b5c3c1 /src/util.h | |
| parent | [tests] Add unit tests for GetChainName (diff) | |
| download | discoin-6d5815aad0ee0614972f288cbd1c68386e801d5d.tar.xz discoin-6d5815aad0ee0614972f288cbd1c68386e801d5d.zip | |
Separate out ReadConfigStream from ReadConfigFile
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 5afe80cb0..bfd3184ac 100644 --- a/src/util.h +++ b/src/util.h @@ -228,6 +228,8 @@ protected: std::map<std::string, std::vector<std::string>> mapMultiArgs; std::unordered_set<std::string> m_negated_args; + void ReadConfigStream(std::istream& stream); + public: void ParseParameters(int argc, const char*const argv[]); void ReadConfigFile(const std::string& confPath); |