diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-02-16 09:01:35 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-02-16 08:59:28 -0500 |
commit | faa6dd27b1f1f96f5e1a26e830e1a80255afdb5f (patch) | |
tree | ac28ac960c3a60cfa750bf86d095ef01e0f72280 /src/leveldb/util/env_win.cc | |
parent | 13e31dd6548d64a5992f439e74bb424bf88aca04 (diff) | |
parent | 835a21b42402d546bd72f8a3f452f0c743fefe82 (diff) |
Bump leveldb subtree
Diffstat (limited to 'src/leveldb/util/env_win.cc')
-rw-r--r-- | src/leveldb/util/env_win.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leveldb/util/env_win.cc b/src/leveldb/util/env_win.cc index d32c4e676c..81380216bb 100644 --- a/src/leveldb/util/env_win.cc +++ b/src/leveldb/util/env_win.cc @@ -78,6 +78,7 @@ public: virtual Status Read(size_t n, Slice* result, char* scratch); virtual Status Skip(uint64_t n); BOOL isEnable(); + virtual std::string GetName() const { return _filename; } private: BOOL _Init(); void _CleanUp(); @@ -94,6 +95,7 @@ public: virtual ~Win32RandomAccessFile(); virtual Status Read(uint64_t offset, size_t n, Slice* result,char* scratch) const; BOOL isEnable(); + virtual std::string GetName() const { return _filename; } private: BOOL _Init(LPCWSTR path); void _CleanUp(); @@ -114,6 +116,7 @@ public: virtual Status Flush(); virtual Status Sync(); BOOL isEnable(); + virtual std::string GetName() const { return filename_; } private: std::string filename_; ::HANDLE _hFile; |