summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/UriParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Utility/UriParser.cpp')
-rw-r--r--lldb/source/Utility/UriParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Utility/UriParser.cpp b/lldb/source/Utility/UriParser.cpp
index 6febae2b17b..77e16b02aae 100644
--- a/lldb/source/Utility/UriParser.cpp
+++ b/lldb/source/Utility/UriParser.cpp
@@ -40,7 +40,7 @@ UriParser::Parse(const std::string& uri,
// Extract path.
tmp_scheme = uri.substr(0, pos);
auto host_pos = pos + strlen(kSchemeSep);
- auto path_pos = uri.find_first_of("/", host_pos);
+ auto path_pos = uri.find('/', host_pos);
if (path_pos != std::string::npos)
tmp_path = uri.substr(path_pos);
else
OpenPOWER on IntegriCloud