llvm.org GIT mirror llvm / 401ca95
Silence gcc -Wpedantic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216344 91177308-0d34-0410-b5e6-96231b3b80d8 Patrik Hagglund 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4949 func = gcov_main;
5050
5151 if (func) {
52 std::string Invocation(std::string(argv[0]) + " " + argv[1]);
52 std::string Invocation(std::string() + argv[0] + " " + argv[1]);
5353 argv[1] = Invocation.c_str();
5454 return func(argc - 1, argv + 1);
5555 }