summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2018-03-26 11:27:58 -0400
committerMathias Stearn <mathias@10gen.com>2018-03-26 15:40:35 -0400
commitb3c9e24d7434c929c097d85f65a3586687031116 (patch)
tree3060fe45a7adf35e763f77fb4861e84b202c12c9
parentcee356dbc43d4836594fa517a383fa6ac66f735a (diff)
downloadmongo-b3c9e24d7434c929c097d85f65a3586687031116.tar.gz
SERVER-33508 Fix compile with boost-1.66
-rw-r--r--src/mongo/executor/network_interface_mock_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/executor/network_interface_mock_test.cpp b/src/mongo/executor/network_interface_mock_test.cpp
index b1a2e4edff2..59c33e1fc82 100644
--- a/src/mongo/executor/network_interface_mock_test.cpp
+++ b/src/mongo/executor/network_interface_mock_test.cpp
@@ -143,7 +143,7 @@ TEST_F(NetworkInterfaceMockTest, ConnectionHook) {
[&](const HostAndPort& remoteHost) {
makeRequestCalled = true;
hostCorrectForRequest = (remoteHost == testHost());
- return boost::make_optional<RemoteCommandRequest>(expectedRequest);
+ return boost::make_optional(expectedRequest);
},
[&](const HostAndPort& remoteHost, RemoteCommandResponse&& response) {
handleReplyCalled = true;