Skip to content

Commit 3a05dc8

Browse files
committed
Fix the linux build by removing the name alias that does not agree with gcc4.9
1 parent ad418e8 commit 3a05dc8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/glow/IR/IR.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ class Value : public Named,
5656
public Typed,
5757
public Kinded {
5858
public:
59-
using Use = Use;
60-
6159
Value(TypeRef T, Kinded::Kind k) : Typed(T), Kinded(k) {}
6260
};
6361

src/glow/Optimizer/IROptimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static void replaceAllNonDeallocUsersWith(Value *val, Value *with) {
8484
auto &users = val->getUsers();
8585
// We use a vector here because changing the operands of the user changes the
8686
// uselist, and this invalidates the iterator.
87-
std::vector<Value::Use> usersVec(users.begin(), users.end());
87+
std::vector<Use> usersVec(users.begin(), users.end());
8888
for (auto &U : usersVec) {
8989
// Ignore dealloc instrs.
9090
if (isa<DeallocActivationInst>(U.get())) {

0 commit comments

Comments
 (0)