File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ static std::string GetExecutablePath(const char *Argv0) {
75
75
if (llvm::ErrorOr<std::string> P =
76
76
llvm::sys::findProgramByName (ExecutablePath))
77
77
ExecutablePath = *P;
78
- return std::string (ExecutablePath. str () );
78
+ return std::string (ExecutablePath);
79
79
}
80
80
81
81
void dumpBATFor (llvm::object::ELFObjectFileBase *InputFile) {
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ static std::string GetExecutablePath(const char *Argv0) {
174
174
if (llvm::ErrorOr<std::string> P =
175
175
llvm::sys::findProgramByName (ExecutablePath))
176
176
ExecutablePath = *P;
177
- return std::string (ExecutablePath. str () );
177
+ return std::string (ExecutablePath);
178
178
}
179
179
180
180
int main (int argc, char **argv) {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ static std::string GetExecutablePath(const char *Argv0) {
46
46
if (llvm::ErrorOr<std::string> P =
47
47
llvm::sys::findProgramByName (ExecutablePath))
48
48
ExecutablePath = *P;
49
- return std::string (ExecutablePath. str () );
49
+ return std::string (ExecutablePath);
50
50
}
51
51
52
52
int main (int argc, char **argv) {
You can’t perform that action at this time.
0 commit comments