Make pass-by-ref arguments const.

Make some of the arguments in rest.cpp, that are passed by
reference but never modified, const to emphasise that.
This commit is contained in:
Daniel Kraft
2014-12-16 13:45:27 +01:00
parent 28a274e6ce
commit 7c8e4c5cfb
2 changed files with 17 additions and 17 deletions

View File

@@ -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