diff options
| author | practicalswift <[email protected]> | 2018-09-25 07:00:36 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-11-05 17:03:11 +0100 |
| commit | 9cc0230cfc1ae9b9c1c905cd9ac613bc98bfa43a (patch) | |
| tree | c3cd7df7ea0228dee67b7160ba960a6eba5bbac4 /src/rest.cpp | |
| parent | tests: Explicitly ignore the return value of DecodeBase58(...) (diff) | |
| download | discoin-9cc0230cfc1ae9b9c1c905cd9ac613bc98bfa43a.tar.xz discoin-9cc0230cfc1ae9b9c1c905cd9ac613bc98bfa43a.zip | |
Add NODISCARD to all {Decode,Parse}[...](...) functions returning bool. Sort includes.
Diffstat (limited to 'src/rest.cpp')
| -rw-r--r-- | src/rest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rest.cpp b/src/rest.cpp index 6c7e0384c..4988e6ed2 100644 --- a/src/rest.cpp +++ b/src/rest.cpp @@ -3,20 +3,21 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#include <attributes.h> #include <chain.h> #include <chainparams.h> #include <core_io.h> +#include <httpserver.h> #include <index/txindex.h> #include <primitives/block.h> #include <primitives/transaction.h> -#include <validation.h> -#include <httpserver.h> #include <rpc/blockchain.h> #include <rpc/server.h> #include <streams.h> #include <sync.h> #include <txmempool.h> #include <util/strencodings.h> +#include <validation.h> #include <version.h> #include <boost/algorithm/string.hpp> |