diff options
author | Andrew Morrow <acm@mongodb.com> | 2016-07-16 09:32:52 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2016-07-16 09:32:52 -0400 |
commit | 88f4b9ac327248befff7f83fb1cdd9f4bb9f8916 (patch) | |
tree | d709709ab55dfd9634d0010648b08b18414b734a /src/mongo/s/commands/cluster_is_master_cmd.cpp | |
parent | 098d5a1198b178744f831552e52797494f8431b1 (diff) | |
download | mongo-88f4b9ac327248befff7f83fb1cdd9f4bb9f8916.tar.gz |
SERVER-18399 Fix clang builds broken by automation aware shell
Diffstat (limited to 'src/mongo/s/commands/cluster_is_master_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_is_master_cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_is_master_cmd.cpp b/src/mongo/s/commands/cluster_is_master_cmd.cpp index faea3ad66e7..191e04e7f54 100644 --- a/src/mongo/s/commands/cluster_is_master_cmd.cpp +++ b/src/mongo/s/commands/cluster_is_master_cmd.cpp @@ -81,7 +81,8 @@ public: result.append("minWireVersion", WireSpec::instance().minWireVersionIncoming); const auto parameter = mapFindWithDefault(ServerParameterSet::getGlobal()->getMap(), - "automationServiceDescriptor"); + "automationServiceDescriptor", + static_cast<ServerParameter*>(nullptr)); if (parameter) parameter->append(txn, result, "automationServiceDescriptor"); |