Make class members journal const

This commit is contained in:
Miguel Portilla
2019-10-25 14:05:34 -04:00
committed by Nik Bougalis
parent 06c371544a
commit 5c1dd87fab
55 changed files with 67 additions and 65 deletions

View File

@@ -28,7 +28,7 @@ namespace ripple {
class TimeKeeperImpl : public TimeKeeper
{
private:
beast::Journal j_;
beast::Journal const j_;
std::mutex mutable mutex_;
std::chrono::duration<std::int32_t> closeOffset_;
std::unique_ptr<SNTPClock> clock_;