summaryrefslogtreecommitdiff
path: root/src/mongo/util/mmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/mmap.h')
-rw-r--r--src/mongo/util/mmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/mmap.h b/src/mongo/util/mmap.h
index 74df77364fe..f23b503f00e 100644
--- a/src/mongo/util/mmap.h
+++ b/src/mongo/util/mmap.h
@@ -124,13 +124,13 @@ namespace mongo {
virtual bool isDurableMappedFile() { return false; }
- string filename() const { return _filename; }
+ std::string filename() const { return _filename; }
void setFilename(const std::string& fn);
virtual uint64_t getUniqueId() const = 0;
private:
- string _filename;
+ std::string _filename;
static int _flushAll( bool sync ); // returns n flushed
protected:
virtual void close() = 0;