Skip to content

Commit 1165dce

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Del redundant-static-def in thrift/lib/cpp2/security/extensions/ThriftParametersContext.cpp +2
Summary: LLVM has a warning `-Wdeprecated-redundant-constexpr-static-def` which raises the warning: > warning: out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated Since we are now on C++20, we can remove the out-of-line definition of constexpr static data members. This diff does so. - If you approve of this diff, please use the "Accept & Ship" button :-) Differential Revision: D77423201 fbshipit-source-id: bbb01bf420a109b39968b092133ac7430e5866c8
1 parent e98bcfb commit 1165dce

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

third-party/thrift/src/thrift/lib/cpp2/security/extensions/ThriftParametersContext.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,4 @@
1616

1717
#include <thrift/lib/cpp2/security/extensions/ThriftParametersContext.h>
1818

19-
namespace apache::thrift {
20-
21-
constexpr std::array<CompressionAlgorithm, 2>
22-
ThriftParametersContext::supportedCompressionAlgos_;
23-
}
19+
namespace apache::thrift {}

0 commit comments

Comments
 (0)