Commit a8391b56 authored by Ivan Dokunov's avatar Ivan Dokunov

Minor bugfix

parent 886014f1
......@@ -18,6 +18,8 @@ void CFileSystem::addPathInPriorityArray(int id, int iPriority)
}
m_priorityArray.push_back(newElement);
m_priorityArray.quickSort([&](const Pair &obj, const Pair &obj2) -> bool {return obj.priority < obj2.priority; });
m_lastRootId = id;
}
bool CFileSystem::isFileOrDirectory(const char *szPath, bool isFile)
......
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