@@ -8129,7 +8129,7 @@ NTSCFG_TEST_FUNCTION(ntsu::SocketUtilTest::verifyCase27)
8129
8129
error = ntsu::SocketOptionUtil::setZeroCopy (handle, true );
8130
8130
NTSCFG_TEST_OK (error);
8131
8131
8132
- bsl::vector<char > message (msgSize, &ta );
8132
+ bsl::vector<char > message (msgSize, NTSCFG_TEST_ALLOCATOR );
8133
8133
for (int i = 0 ; i < msgSize; ++i) {
8134
8134
message[i] = bsl::rand () % 100 ;
8135
8135
}
@@ -8146,8 +8146,8 @@ NTSCFG_TEST_FUNCTION(ntsu::SocketUtilTest::verifyCase27)
8146
8146
// NTSCFG_TEST_TRUE(endpoint.parse("[fe80::215:5dff:fe8d:6bd1]:5555"));
8147
8147
}
8148
8148
8149
- bsl::list<ntsa::ZeroCopy> feedback (&ta );
8150
- bsl::unordered_set<bsl::uint32_t > sendIDs (&ta );
8149
+ bsl::list<ntsa::ZeroCopy> feedback (NTSCFG_TEST_ALLOCATOR );
8150
+ bsl::unordered_set<bsl::uint32_t > sendIDs (NTSCFG_TEST_ALLOCATOR );
8151
8151
8152
8152
for (int i = 0 ; i < numMessagesToSend; ++i) {
8153
8153
ntsa::SendContext context;
@@ -8170,15 +8170,15 @@ NTSCFG_TEST_FUNCTION(ntsu::SocketUtilTest::verifyCase27)
8170
8170
8171
8171
SocketUtilTest::extractZeroCopyNotifications (&feedback,
8172
8172
handle,
8173
- &ta );
8173
+ NTSCFG_TEST_ALLOCATOR );
8174
8174
}
8175
8175
8176
8176
// retrieve data from the socket error queue until all send system
8177
8177
// calls are acknowledged by the OS
8178
8178
while (!sendIDs.empty ()) {
8179
8179
SocketUtilTest::extractZeroCopyNotifications (&feedback,
8180
8180
handle,
8181
- &ta );
8181
+ NTSCFG_TEST_ALLOCATOR );
8182
8182
8183
8183
while (!feedback.empty ()) {
8184
8184
const ntsa::ZeroCopy& zc = feedback.front ();
0 commit comments