summaryrefslogtreecommitdiff
path: root/db/storage.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2007-12-06 17:04:20 -0500
committerDwight <dmerriman@gmail.com>2007-12-06 17:04:20 -0500
commit4e149351ff26ddd6292d777ba1a28b1fb58d69f4 (patch)
treebcbb2b5423d115fc06a6be25cde5613730eab425 /db/storage.h
parentce4d2eb1323bcc414d3aea156fb529b3fee2da8b (diff)
downloadmongo-4e149351ff26ddd6292d777ba1a28b1fb58d69f4.tar.gz
index delete
Diffstat (limited to 'db/storage.h')
-rw-r--r--db/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/storage.h b/db/storage.h
index e2170568364..0db87b7fb6c 100644
--- a/db/storage.h
+++ b/db/storage.h
@@ -25,7 +25,7 @@ public:
DiskLoc() { reserved = -1; ofs = NullOfs; }
DiskLoc(const DiskLoc& l) { reserved=l.reserved; ofs=l.ofs; }
- bool isNull() { return ofs == NullOfs; }
+ bool isNull() const { return ofs == NullOfs; }
void Null() { reserved = -1; ofs = NullOfs; }
void assertOk() { assert(!isNull()); }