summaryrefslogtreecommitdiff
path: root/src/mongo/client/sdam/server_description.h
diff options
context:
space:
mode:
authorLamont Nelson <lamont.nelson@mongodb.com>2020-02-28 12:51:10 -0500
committerLamont Nelson <lamont.nelson@mongodb.com>2020-02-28 12:51:10 -0500
commit153bb259889c59ccc3517fa7623e7caae4a16b56 (patch)
tree6927b9ef9b018ed1f2e529fb2e5831f03f1691a3 /src/mongo/client/sdam/server_description.h
parentca5da960a1d6ffddf281c0b448c229bed2d0e5fe (diff)
downloadmongo-new-rsm-rebase.tar.gz
Diffstat (limited to 'src/mongo/client/sdam/server_description.h')
-rw-r--r--src/mongo/client/sdam/server_description.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/client/sdam/server_description.h b/src/mongo/client/sdam/server_description.h
index 662890480c2..42e87ab34e8 100644
--- a/src/mongo/client/sdam/server_description.h
+++ b/src/mongo/client/sdam/server_description.h
@@ -51,8 +51,7 @@ public:
* Construct an unknown ServerDescription with default values except the server's address.
*/
ServerDescription(ServerAddress address)
- : _address(std::move(address)), _type(ServerType::kUnknown) {
- }
+ : _address(std::move(address)), _type(ServerType::kUnknown) {}
/**
* Build a new ServerDescription according to the rules of the SDAM spec based on the