Commit 15896025 authored by Brad King's avatar Brad King
Browse files

SystemTools: Use C++11 in SystemToolsAppendComponents

parent e9fed49e
......@@ -3398,11 +3398,7 @@ static void SystemToolsAppendComponents(
out_components.resize(out_components.size() - 1);
}
} else if (!i->empty() && *i != cur) {
#if __cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L)
out_components.push_back(std::move(*i));
#else
out_components.push_back(*i);
#endif
out_components.emplace_back(std::move(*i));
}
}
}
......
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