Apply tidy

This commit is contained in:
Martchus 2017-06-09 00:42:32 +02:00
parent f5bdf4c438
commit 1ef1d21839
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ void InteractiveCli::processCommand(const string &cmd)
Entry *InteractiveCli::resolvePath(const string &path) Entry *InteractiveCli::resolvePath(const string &path)
{ {
auto parts = splitString<vector<string> >(path, "/", EmptyPartsTreat::Merge); auto parts = splitString<vector<string>>(path, "/", EmptyPartsTreat::Merge);
bool fromRoot = path.at(0) == '/'; bool fromRoot = path.at(0) == '/';
if (fromRoot && parts.empty()) { if (fromRoot && parts.empty()) {
return m_file.rootEntry(); return m_file.rootEntry();