Silence gcc -Wpedantic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216344 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Patrik Hagglund 2014-08-24 09:12:33 +00:00
parent 5cbd5a13a4
commit 401ca95387

View File

@ -50,7 +50,7 @@ int main(int argc, const char **argv) {
func = gcov_main;
if (func) {
std::string Invocation(std::string(argv[0]) + " " + argv[1]);
std::string Invocation(std::string() + argv[0] + " " + argv[1]);
argv[1] = Invocation.c_str();
return func(argc - 1, argv + 1);
}