diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/system.h b/src/util/system.h index 66049dfb3a..dca32cc6fc 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -151,7 +151,7 @@ protected: std::map<OptionsCategory, std::map<std::string, Arg>> m_available_args GUARDED_BY(cs_args); std::set<std::string> m_config_sections GUARDED_BY(cs_args); - bool ReadConfigStream(std::istream& stream, std::string& error, bool ignore_invalid_keys = false); + NODISCARD bool ReadConfigStream(std::istream& stream, std::string& error, bool ignore_invalid_keys = false); public: ArgsManager(); @@ -162,7 +162,7 @@ public: void SelectConfigNetwork(const std::string& network); NODISCARD bool ParseParameters(int argc, const char* const argv[], std::string& error); - bool ReadConfigFiles(std::string& error, bool ignore_invalid_keys = false); + NODISCARD bool ReadConfigFiles(std::string& error, bool ignore_invalid_keys = false); /** * Log warnings for options in m_section_only_args when |