diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-02-27 22:30:40 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-02-27 22:30:40 +0100 |
commit | 7ef46d063aaeb3411047ef249adcfeab63a2d6e9 (patch) | |
tree | 7cd3d7e7154533706c1d2bac66c6e1860af58767 /src/rpc | |
parent | 228b086b9a3de02b534474027353a80dead2c292 (diff) |
Remove redundant includes. Conform to header include guidelines.
From the header include guidelines (developer-notes.md):
"One exception is that a `.cpp` file does not need to re-include the
includes already included in its corresponding `.h` file."
* rpc/util.h includes pubkey.h + utilstrencodings.h. rpc/util.cpp includes rpc/util.h.
* util.h includes fs.h. util.cpp includes util.h.
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/util.cpp | 1 | ||||
-rw-r--r-- | src/rpc/util.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp index cdcb68d15f..081723f5e6 100644 --- a/src/rpc/util.cpp +++ b/src/rpc/util.cpp @@ -4,7 +4,6 @@ #include <base58.h> #include <keystore.h> -#include <pubkey.h> #include <rpc/protocol.h> #include <rpc/util.h> #include <tinyformat.h> diff --git a/src/rpc/util.h b/src/rpc/util.h index 5380d45a83..c6a79d5cf9 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -8,7 +8,6 @@ #include <pubkey.h> #include <script/standard.h> #include <univalue.h> -#include <utilstrencodings.h> #include <boost/variant/static_visitor.hpp> |