Remove pointless string clear()

This commit is contained in:
KentuckyCompass 2012-12-27 05:14:06 -08:00
parent 3862aea4de
commit 1c5ea99031

View file

@ -94,8 +94,6 @@ bool DirectoryFileSystem::FixPathCase(std::string &path, FixPathCaseBehavior beh
std::string fullPath;
fullPath.reserve(basePath.size() + len + 1);
fullPath.clear();
fullPath.append(basePath);
size_t start = 0;