mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Add NODISCARD to all {Decode,Parse}[...](...) functions returning bool. Sort includes.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <config/bitcoin-config.h>
|
||||
#endif
|
||||
|
||||
#include <attributes.h>
|
||||
#include <compat.h>
|
||||
#include <fs.h>
|
||||
#include <logging.h>
|
||||
@@ -159,7 +160,7 @@ public:
|
||||
*/
|
||||
void SelectConfigNetwork(const std::string& network);
|
||||
|
||||
bool ParseParameters(int argc, const char* const argv[], std::string& error);
|
||||
NODISCARD bool ParseParameters(int argc, const char* const argv[], std::string& error);
|
||||
bool ReadConfigFiles(std::string& error, bool ignore_invalid_keys = false);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user