Move code from header into source file

This commit is contained in:
Robert Schulze 2024-05-28 11:16:50 +00:00
parent e6354a9859
commit 60d45f5495
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
2 changed files with 6 additions and 1 deletions

View File

@ -274,6 +274,11 @@ bool CachedOnDiskReadBufferFromFile::canStartFromCache(size_t current_offset, co
return current_write_offset > current_offset;
}
String CachedOnDiskReadBufferFromFile::toString(ReadType type)
{
return String(magic_enum::enum_name(type));
}
CachedOnDiskReadBufferFromFile::ImplementationBufferPtr
CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(FileSegment & file_segment)
{

View File

@ -129,7 +129,7 @@ private:
ReadType read_type = ReadType::REMOTE_FS_READ_BYPASS_CACHE;
static String toString(ReadType type) { return String(magic_enum::enum_name(type)); }
static String toString(ReadType type);
size_t first_offset = 0;
String nextimpl_step_log_info;