diff options
Diffstat (limited to 'src/mongo/db/exec/sort.cpp')
-rw-r--r-- | src/mongo/db/exec/sort.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sort.cpp b/src/mongo/db/exec/sort.cpp index eee9a44eb45..611ae612a0b 100644 --- a/src/mongo/db/exec/sort.cpp +++ b/src/mongo/db/exec/sort.cpp @@ -126,7 +126,7 @@ namespace mongo { BSONObj* objOut) const { BSONObj btreeKeyToUse; - Status btreeStatus = getBtreeKey(member.obj, &btreeKeyToUse); + Status btreeStatus = getBtreeKey(member.obj.value(), &btreeKeyToUse); if (!btreeStatus.isOK()) { return btreeStatus; } |