From b3cf1980582d026def0fc262de8a788d5b34ca85 Mon Sep 17 00:00:00 2001 From: Dirk Sandbrink Date: Mon, 17 Jan 2022 14:12:25 +0100 Subject: Fix warning C4515: 'protocol': namespace uses itself This warning can been seen when compiling generated code using Visual Studio 16.11. --- lib/cpp/src/thrift/protocol/TList.h | 2 -- lib/cpp/src/thrift/protocol/TMap.h | 2 -- lib/cpp/src/thrift/protocol/TSet.h | 2 -- 3 files changed, 6 deletions(-) diff --git a/lib/cpp/src/thrift/protocol/TList.h b/lib/cpp/src/thrift/protocol/TList.h index bf2c1f9de..0e58be287 100644 --- a/lib/cpp/src/thrift/protocol/TList.h +++ b/lib/cpp/src/thrift/protocol/TList.h @@ -26,8 +26,6 @@ namespace apache { namespace thrift { namespace protocol { -// using namespace apache::thrift::protocol; - /** * Helper class that encapsulates list metadata. * diff --git a/lib/cpp/src/thrift/protocol/TMap.h b/lib/cpp/src/thrift/protocol/TMap.h index b52ea8faf..89825c802 100644 --- a/lib/cpp/src/thrift/protocol/TMap.h +++ b/lib/cpp/src/thrift/protocol/TMap.h @@ -26,8 +26,6 @@ namespace apache { namespace thrift { namespace protocol { -using namespace apache::thrift::protocol; - /** * Helper class that encapsulates map metadata. * diff --git a/lib/cpp/src/thrift/protocol/TSet.h b/lib/cpp/src/thrift/protocol/TSet.h index 3a4718cdc..01f4b02c6 100644 --- a/lib/cpp/src/thrift/protocol/TSet.h +++ b/lib/cpp/src/thrift/protocol/TSet.h @@ -27,8 +27,6 @@ namespace apache { namespace thrift { namespace protocol { -using namespace apache::thrift::protocol; - /** * Helper class that encapsulates set metadata. * -- cgit v1.2.1