Skip to content

Commit

Permalink
Merge pull request #29 from lioncash/remove-pointless-cstr
Browse files Browse the repository at this point in the history
Remove a pointless c_str() call in FileUtil.cpp.
  • Loading branch information
Parlane committed Feb 4, 2014
2 parents 36f6ec8 + 7ebc829 commit 0c2a826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/FileUtil.cpp
Expand Up @@ -496,7 +496,7 @@ u32 ScanDirectoryTree(const std::string &directory, FSTEntry& parentEntry)
entry.physicalName = directory;
entry.physicalName += DIR_SEP + entry.virtualName;

if (IsDirectory(entry.physicalName.c_str()))
if (IsDirectory(entry.physicalName))
{
entry.isDirectory = true;
// is a directory, lets go inside
Expand Down

0 comments on commit 0c2a826

Please sign in to comment.