Better parameter name

This commit is contained in:
Robert Schulze 2023-08-22 15:43:13 +00:00
parent f2fb7365e6
commit d5a7277a59
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 4 additions and 4 deletions

View File

@ -42,8 +42,8 @@ private:
using Base = CacheBase<UInt128, UncompressedCacheCell, UInt128TrivialHash, UncompressedSizeWeightFunction>;
public:
UncompressedCache(const String & uncompressed_cache_policy, size_t max_size_in_bytes, double size_ratio)
: Base(uncompressed_cache_policy, max_size_in_bytes, 0, size_ratio) {}
UncompressedCache(const String & cache_policy, size_t max_size_in_bytes, double size_ratio)
: Base(cache_policy, max_size_in_bytes, 0, size_ratio) {}
/// Calculate key from path to file and offset.
static UInt128 hash(const String & path_to_file, size_t offset)

View File

@ -41,8 +41,8 @@ private:
using Base = CacheBase<UInt128, MarksInCompressedFile, UInt128TrivialHash, MarksWeightFunction>;
public:
MarkCache(const String & mark_cache_policy, size_t max_size_in_bytes, double size_ratio)
: Base(mark_cache_policy, max_size_in_bytes, 0, size_ratio) {}
MarkCache(const String & cache_policy, size_t max_size_in_bytes, double size_ratio)
: Base(cache_policy, max_size_in_bytes, 0, size_ratio) {}
/// Calculate key from path to file and offset.
static UInt128 hash(const String & path_to_file)