Commit 953bd5bd authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: clang warnings

parent 360ccea2
......@@ -122,8 +122,7 @@ static void printHostsSubscription(const UList<string>& slaveProcs)
for (const auto& str : slaveProcs)
const auto dot = str.rfind('.');
const std::string curr(std::move(str.substr(0, dot)));
std::string curr(str.substr(0, str.rfind('.')));
if (prev != curr)
Supports Markdown
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