Skip to content
Snippets Groups Projects
Commit 4c656217 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: clang warnings

parent 95c07aea
No related merge requests found
...@@ -122,8 +122,7 @@ static void printHostsSubscription(const UList<string>& slaveProcs) ...@@ -122,8 +122,7 @@ static void printHostsSubscription(const UList<string>& slaveProcs)
for (const auto& str : slaveProcs) for (const auto& str : slaveProcs)
{ {
const auto dot = str.rfind('.'); std::string curr(str.substr(0, str.rfind('.')));
const std::string curr(std::move(str.substr(0, dot)));
if (prev != curr) if (prev != curr)
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment