diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2020-11-19 17:22:13 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-20 01:12:35 +0000 |
commit | 32c4765e7a29ebbb7470a944dabf70d69134a486 (patch) | |
tree | ca1d1b3e3b39dcb4ee394e84bf9be1d10212f938 /src/mongo/db/wire_version.cpp | |
parent | 304316278656273caffdd461ead2ef02e2ac7743 (diff) | |
download | mongo-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.cpp | 3 |
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)); |