make several member functions const
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
2
src/input/cache/Manager.cxx
vendored
2
src/input/cache/Manager.cxx
vendored
@@ -75,7 +75,7 @@ InputCacheManager::Flush() noexcept
|
||||
}
|
||||
|
||||
bool
|
||||
InputCacheManager::IsEligible(const InputStream &input) noexcept
|
||||
InputCacheManager::IsEligible(const InputStream &input) const noexcept
|
||||
{
|
||||
assert(input.IsReady());
|
||||
|
||||
|
||||
2
src/input/cache/Manager.hxx
vendored
2
src/input/cache/Manager.hxx
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user