Skip to content

Commit

Permalink
Fixup pushMemrefEntryToVector for c++14 (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx authored Jan 23, 2025
1 parent b114d1f commit 82436ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mlir/lib/Util/Dependency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,8 +1028,7 @@ getAllWriteAccessedMemrefOperandsFromOp(Operation *op) {
std::get<2>(entry.second) = strides;
return entry;
};
auto pushMemrefEntryToVector = []<typename T>(T entry,
SmallVector<T> &vector) {
auto pushMemrefEntryToVector = [](auto entry, auto &vector) {
if (!isa<MemRefType>(entry.first.getType()))
return;
vector.push_back(entry);
Expand Down

0 comments on commit 82436ea

Please sign in to comment.