Qualify StringRef to fix Windows build failure

PiperOrigin-RevId: 261195069
This commit is contained in:
Lei Zhang 2019-08-01 14:13:55 -07:00 committed by A. Unique TensorFlower
parent 00a7b6706d
commit 7768ea9fb3
1 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ llvm::StringRef Constraint::getDescription() const {
return doc;
}
AppliedConstraint::AppliedConstraint(Constraint &&constraint, StringRef self,
AppliedConstraint::AppliedConstraint(Constraint &&constraint,
llvm::StringRef self,
std::vector<std::string> &&entities)
: constraint(constraint), self(self), entities(std::move(entities)) {}