File tree 1 file changed +3
-2
lines changed
mlir/lib/Transforms/Utils
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ struct ConversionValueMapping {
174
174
175
175
// / Map a value vector to the one provided.
176
176
template <typename OldVal, typename NewVal>
177
- std::enable_if_t <IsValueVector<OldVal>{} && IsValueVector<NewVal>{} >
177
+ std::enable_if_t <IsValueVector<OldVal>::value && IsValueVector<NewVal>::value >
178
178
map (OldVal &&oldVal, NewVal &&newVal) {
179
179
LLVM_DEBUG ({
180
180
ValueVector next (newVal);
@@ -194,7 +194,8 @@ struct ConversionValueMapping {
194
194
195
195
// / Map a value vector or single value to the one provided.
196
196
template <typename OldVal, typename NewVal>
197
- std::enable_if_t <!IsValueVector<OldVal>{} || !IsValueVector<NewVal>{}>
197
+ std::enable_if_t <!IsValueVector<OldVal>::value ||
198
+ !IsValueVector<NewVal>::value>
198
199
map (OldVal &&oldVal, NewVal &&newVal) {
199
200
if constexpr (IsValueVector<OldVal>{}) {
200
201
map (std::forward<OldVal>(oldVal), ValueVector{newVal});
You can’t perform that action at this time.
0 commit comments