summaryrefslogtreecommitdiff
path: root/src/mongo/db/wire_version.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-11-19 17:22:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-20 01:12:35 +0000
commit32c4765e7a29ebbb7470a944dabf70d69134a486 (patch)
treeca1d1b3e3b39dcb4ee394e84bf9be1d10212f938 /src/mongo/db/wire_version.cpp
parent304316278656273caffdd461ead2ef02e2ac7743 (diff)
downloadmongo-32c4765e7a29ebbb7470a944dabf70d69134a486.tar.gz
SERVER-50684 rename,cleanup internalAssert->iassert
Diffstat (limited to 'src/mongo/db/wire_version.cpp')
-rw-r--r--src/mongo/db/wire_version.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/wire_version.cpp b/src/mongo/db/wire_version.cpp
index c0757324dbc..03fc8543a87 100644
--- a/src/mongo/db/wire_version.cpp
+++ b/src/mongo/db/wire_version.cpp
@@ -70,8 +70,7 @@ void WireSpec::reset(Specification spec) {
BSONObj oldSpec, newSpec;
{
stdx::lock_guard<Latch> lk(_mutex);
- internalAssert(
- ErrorCodes::NotYetInitialized, "WireSpec is not yet initialized", isInitialized());
+ iassert(ErrorCodes::NotYetInitialized, "WireSpec is not yet initialized", isInitialized());
oldSpec = specToBSON(*_spec.get());
_spec = std::make_shared<Specification>(std::move(spec));