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

@@ -44,7 +44,7 @@ Cleans up the ledger. Specifically, resolves these issues:
class LedgerCleanerImp : public LedgerCleaner
{
Application& app_;
beast::Journal j_;
beast::Journal const j_;
mutable std::mutex mutex_;
mutable std::condition_variable wakeup_;