Skip to content

Commit 889f036

Browse files
committed
Fix[mqbnet]: Remove extra alloc argument from UT
`bsl::allocate_shared` automatically forwards the allocator to the constructor of the object it is building correctly. Passing the allocator in addition causes a compiler error. This patch removes the extra allocator from a UT. Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
1 parent 7b5356f commit 889f036

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/groups/mqb/mqbnet/mqbnet_initialconnectioncontext.t.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ static void test1_initialConnectionContext()
175175
"testMechanism",
176176
authnMsg,
177177
bmqp::EncodingType::e_BER,
178-
mqbnet::AuthenticationState::e_AUTHENTICATING,
179-
alloc);
178+
mqbnet::AuthenticationState::e_AUTHENTICATING);
180179
obj.setAuthenticationContext(authnCtx);
181180
BMQTST_ASSERT_EQ(authnCtx, obj.authenticationContext());
182181
}

0 commit comments

Comments
 (0)