diff --git a/src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.cpp b/src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.cpp index 823284d590..edd55f3909 100644 --- a/src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.cpp +++ b/src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.cpp @@ -110,7 +110,7 @@ LessThanLowerBoundFn::LessThanLowerBoundFn(const Parameters::Range& range) } bool LessThanLowerBoundFn::operator()(const mqbs::JournalFileIterator* jit, - bool inverseOrder) + bool inverseOrder) const { // PRECONDITIONS BSLS_ASSERT(jit); diff --git a/src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.h b/src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.h index afd4bea0b6..1abfc2d929 100644 --- a/src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.h +++ b/src/applications/bmqstoragetool/m_bmqstoragetool_journalfileprocessor.h @@ -52,10 +52,13 @@ class LessThanLowerBoundFn { public: // CREATORS + explicit LessThanLowerBoundFn(const Parameters::Range& range); + // ACCESSORS + bool operator()(const mqbs::JournalFileIterator* jit, - bool inverseOrder = false); + bool inverseOrder = false) const; // Return true if value specified by `jit` is less than range lower bound // when the specified `inverseOrder` is false, false otherwise. // Return true if range lower bound is less than value specified by `jit`