sstables: make sstable::filename() const

This commit is contained in:
Avi Kivity
2015-09-06 14:29:54 +03:00
parent b4835756fd
commit e1c7209258
2 changed files with 2 additions and 2 deletions

View File

@@ -1348,7 +1348,7 @@ const bool sstable::has_component(component_type f) {
return _components.count(f);
}
const sstring sstable::filename(component_type f) {
const sstring sstable::filename(component_type f) const {
return filename(_dir, _ks, _cf, _version, _generation, _format, f);
}

View File

@@ -296,7 +296,7 @@ private:
const bool has_component(component_type f);
const sstring filename(component_type f);
const sstring filename(component_type f) const;
const sstring temporary_filename(component_type f);
template <sstable::component_type Type, typename T>