aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-12-17 19:21:20 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-12-17 19:21:48 +0100
commit4444b879bc1da56fffa4cb4cf31a276a795f43b9 (patch)
tree5f813b0ccb61f82a271736eda2ee078b0270068c /src/rpcserver.h
parent89802fe3eea857bae3a4f4f393de92af0915facd (diff)
parent7c8e4c5cfb3dd88bbe89cc14b703d7c59bafed6e (diff)
downloadbitcoin-4444b879bc1da56fffa4cb4cf31a276a795f43b9.tar.xz
Merge pull request #5484
7c8e4c5 Make pass-by-ref arguments const. (Daniel Kraft)
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r--src/rpcserver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h
index 2b2428445d..8fea38126c 100644
--- a/src/rpcserver.h
+++ b/src/rpcserver.h
@@ -227,8 +227,8 @@ extern json_spirit::Value reconsiderblock(const json_spirit::Array& params, bool
// in rest.cpp
extern bool HTTPReq_REST(AcceptedConnection *conn,
- std::string& strURI,
- std::map<std::string, std::string>& mapHeaders,
+ const std::string& strURI,
+ const std::map<std::string, std::string>& mapHeaders,
bool fRun);
#endif // BITCOIN_RPCSERVER_H