Commit 4c656217 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: clang warnings

parent 95c07aea
......@@ -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)
{
......
Markdown is supported
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