Skip to content

Commit 32265b8

Browse files
committed
Move anchor() to implementation file
1 parent a7d3ae6 commit 32265b8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

mlir/include/mlir/Support/StateStack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class StateStackFrame {
3232

3333
private:
3434
const TypeID typeID;
35-
virtual void anchor() {};
35+
virtual void anchor();
3636
};
3737

3838
/// Concrete CRTP base class for StateStack frames. This is used for keeping a

mlir/lib/Support/StateStack.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "mlir/Support/StateStack.h"
10+
11+
namespace mlir {
12+
13+
void StateStackFrame::anchor() {}
14+
15+
} // namespace mlir

0 commit comments

Comments
 (0)