summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/working_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/working_set.h')
-rw-r--r--src/mongo/db/exec/working_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/working_set.h b/src/mongo/db/exec/working_set.h
index 505a7c47f32..2de8f85fa72 100644
--- a/src/mongo/db/exec/working_set.h
+++ b/src/mongo/db/exec/working_set.h
@@ -70,7 +70,7 @@ namespace mongo {
* Do not delete the returned pointer as the WorkingSet retains ownership. Call free() to
* release it.
*/
- WorkingSetMember* get(const WorkingSetID& i) {
+ WorkingSetMember* get(const WorkingSetID& i) const {
dassert(i < _data.size()); // ID has been allocated.
dassert(_data[i].nextFreeOrSelf == i); // ID currently in use.
return _data[i].member;