summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/cluster_client_cursor_mock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/query/cluster_client_cursor_mock.cpp')
-rw-r--r--src/mongo/s/query/cluster_client_cursor_mock.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/query/cluster_client_cursor_mock.cpp b/src/mongo/s/query/cluster_client_cursor_mock.cpp
index 4899e0f3056..f2327f861fa 100644
--- a/src/mongo/s/query/cluster_client_cursor_mock.cpp
+++ b/src/mongo/s/query/cluster_client_cursor_mock.cpp
@@ -115,4 +115,8 @@ boost::optional<LogicalSessionId> ClusterClientCursorMock::getLsid() const {
return _lsid;
}
+boost::optional<ReadPreferenceSetting> ClusterClientCursorMock::getReadPreference() const {
+ return boost::none;
+}
+
} // namespace mongo