Skip to content

Commit 83d47d3

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Del redundant-static-def in cinderx/Jit/codegen/copy_graph.cpp +1
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 :-) Reviewed By: meyering Differential Revision: D78250510 fbshipit-source-id: e5be1a99d118ae327773756e823e28d97542414c
1 parent 914e9cd commit 83d47d3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Jit/codegen/copy_graph.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace jit::codegen {
66

7-
constexpr int CopyGraph::kTempLoc;
8-
97
CopyGraph::Node::~Node() {
108
if (child_node.isLinked()) {
119
child_node.Unlink();

0 commit comments

Comments
 (0)