mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Make class members journal const
This commit is contained in:
committed by
Nik Bougalis
parent
06c371544a
commit
5c1dd87fab
@@ -182,7 +182,7 @@ public:
|
||||
|
||||
private:
|
||||
boost::asio::ssl::context ssl_context_;
|
||||
beast::Journal j_;
|
||||
beast::Journal const j_;
|
||||
const bool verify_;
|
||||
};
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ private:
|
||||
boost::optional<
|
||||
boost::asio::ssl::stream<boost::asio::ip::tcp::socket>> stream_;
|
||||
boost::beast::flat_buffer read_buf_;
|
||||
beast::Journal j_;
|
||||
beast::Journal const j_;
|
||||
|
||||
void
|
||||
do_session(
|
||||
|
||||
@@ -92,7 +92,7 @@ std::string createHTTPPost (
|
||||
class RPCParser
|
||||
{
|
||||
private:
|
||||
beast::Journal j_;
|
||||
beast::Journal const j_;
|
||||
|
||||
// TODO New routine for parsing ledger parameters, other routines should standardize on this.
|
||||
static bool jvParseLedger (Json::Value& jvRequest, std::string const& strLedger)
|
||||
|
||||
@@ -194,7 +194,7 @@ private:
|
||||
|
||||
std::deque<std::pair<int, Json::Value> > mDeque;
|
||||
|
||||
beast::Journal j_;
|
||||
beast::Journal const j_;
|
||||
Logs& logs_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user