Remove an unneeded call to c_str().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81051 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2009-09-04 22:44:03 +00:00
parent fb0f0dedd7
commit 5026274ba8

View File

@ -373,7 +373,7 @@ namespace llvm {
}
static unsigned getTripleMatchQuality(const std::string &TT) {
if (Triple(TT.c_str()).getArch() == TargetArchType)
if (Triple(TT).getArch() == TargetArchType)
return 20;
return 0;
}