summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/ObjectYAML/ObjectYAML.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/ObjectYAML/ObjectYAML.cpp')
-rw-r--r--contrib/llvm/lib/ObjectYAML/ObjectYAML.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/ObjectYAML/ObjectYAML.cpp b/contrib/llvm/lib/ObjectYAML/ObjectYAML.cpp
index 97741b5..cbbaac6 100644
--- a/contrib/llvm/lib/ObjectYAML/ObjectYAML.cpp
+++ b/contrib/llvm/lib/ObjectYAML/ObjectYAML.cpp
@@ -51,7 +51,7 @@ void MappingTraits<YamlObjectFile>::mapping(IO &IO,
else
IO.setError(
llvm::Twine("YAML Object File unsupported document type tag '") +
- llvm::Twine(Tag.c_str()) + llvm::Twine("'!"));
+ llvm::Twine(Tag) + llvm::Twine("'!"));
}
}
}
OpenPOWER on IntegriCloud