Skip to content

Commit 2af89bf

Browse files
committed
Use namespace to avoid conflicts on TestEventCb
1 parent 67c6b39 commit 2af89bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/0097-ssl_verify.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
#include "testcpp.h"
3535
#include "tinycthread.h"
3636

37+
namespace TestSSLVerify {
38+
3739
static const std::string envname[RdKafka::CERT__CNT][RdKafka::CERT_ENC__CNT] = {
3840
/* [RdKafka::CERT_PUBLIC_KEY] = */
3941
{
@@ -500,6 +502,10 @@ static void do_test_bad_calls() {
500502
Test::Say("Producer creation failed expectedly: " + errstr + "\n");
501503
}
502504

505+
} // namespace TestSSLVerify
506+
507+
using namespace TestSSLVerify;
508+
503509
extern "C" {
504510

505511
/**

0 commit comments

Comments
 (0)