projects
/
platform
/
core
/
ml
/
nnfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git]
/
runtime
/
onert
/
core
/
src
/
compiler
/
pass
/
ConstantOutputPass.cc
diff --git
a/runtime/onert/core/src/compiler/pass/ConstantOutputPass.cc
b/runtime/onert/core/src/compiler/pass/ConstantOutputPass.cc
index
c176f6f
..
1448de4
100644
(file)
--- a/
runtime/onert/core/src/compiler/pass/ConstantOutputPass.cc
+++ b/
runtime/onert/core/src/compiler/pass/ConstantOutputPass.cc
@@
-49,7
+49,7
@@
void ConstantOutputPass::callback(const ir::OperandIndex &ind, ir::Operand &obj)
// Make the operations that uses this operand to use the generated operand
auto orig_uses = obj.getUses();
- for (auto use : orig_uses)
+ for (auto
&&
use : orig_uses)
{
permute_input_obj.insertUse(use);
obj.removeUse(use);