summaryrefslogtreecommitdiff
path: root/runtime/onert/core/src/compiler/pass/OperationPass.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/onert/core/src/compiler/pass/OperationPass.h')
-rw-r--r--runtime/onert/core/src/compiler/pass/OperationPass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/onert/core/src/compiler/pass/OperationPass.h b/runtime/onert/core/src/compiler/pass/OperationPass.h
index ac4d818a2..0a00b11d1 100644
--- a/runtime/onert/core/src/compiler/pass/OperationPass.h
+++ b/runtime/onert/core/src/compiler/pass/OperationPass.h
@@ -29,7 +29,7 @@ namespace onert
{
namespace ir
{
-class Operation;
+struct IOperation;
} // namespace ir
} // namespace onert
@@ -62,7 +62,7 @@ public:
* @param index is the index of a node in graph
* @param node is the node in graph
*/
- virtual void callback(const ir::OperationIndex &index, ir::Operation &node) = 0;
+ virtual void callback(const ir::OperationIndex &index, ir::IOperation &node) = 0;
/**
* @brief Run the pass