Commit b36b355
authored
Fix build failure on GCC (#20231)
Use function overload instead of explicit specialization to fix GCC
error:
```
/__w/iree/iree/compiler/src/iree/compiler/Utils/OptionUtils.h:58:13: error: explicit specialization in non-namespace scope 'struct mlir::iree_compiler::opt_initializer<Ty>'
58 | template <>
|
```
Signed-off-by: Ian Wood <[email protected]>1 parent cee9306 commit b36b355
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
0 commit comments