make several member functions const

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-08-26 13:06:52 -07:00
parent 9ca64d5fb3
commit 53ffcf455c
7 changed files with 15 additions and 15 deletions

View File

@@ -75,7 +75,7 @@ InputCacheManager::Flush() noexcept
}
bool
InputCacheManager::IsEligible(const InputStream &input) noexcept
InputCacheManager::IsEligible(const InputStream &input) const noexcept
{
assert(input.IsReady());

View File

@@ -98,7 +98,7 @@ private:
* Check whether the given #InputStream can be stored in this
* cache.
*/
bool IsEligible(const InputStream &input) noexcept;
bool IsEligible(const InputStream &input) const noexcept;
void Remove(InputCacheItem &item) noexcept;
void Delete(InputCacheItem *item) noexcept;