diff options
author | Dwight <dmerriman@gmail.com> | 2007-12-06 17:04:20 -0500 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2007-12-06 17:04:20 -0500 |
commit | 4e149351ff26ddd6292d777ba1a28b1fb58d69f4 (patch) | |
tree | bcbb2b5423d115fc06a6be25cde5613730eab425 /db/storage.h | |
parent | ce4d2eb1323bcc414d3aea156fb529b3fee2da8b (diff) | |
download | mongo-4e149351ff26ddd6292d777ba1a28b1fb58d69f4.tar.gz |
index delete
Diffstat (limited to 'db/storage.h')
-rw-r--r-- | db/storage.h | 2 |
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()); }
|