diff --git a/include/rocksdb/file_system.h b/include/rocksdb/file_system.h index e6cf8f9ce..ec908c4b0 100644 --- a/include/rocksdb/file_system.h +++ b/include/rocksdb/file_system.h @@ -1193,6 +1193,10 @@ class FileSystemWrapper : public FileSystem { explicit FileSystemWrapper(const std::shared_ptr& t); ~FileSystemWrapper() override {} + // Deprecated. Will be removed in a major release. Derived classes + // should implement this method. + const char* Name() const override { return target_->Name(); } + // Return the target to which this Env forwards all calls FileSystem* target() const { return target_.get(); }