diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index a489f8fe6d..d46a5c9f19 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -364,7 +364,7 @@ int GetFileModTime( const CString &sPath ) return FILEMAN->GetFileModTime( sPath ); } -void GetDirListing( CString sPath, CStringArray &AddTo, bool bOnlyDirs, bool bReturnPathToo ) +void GetDirListing( const CString &sPath, CStringArray &AddTo, bool bOnlyDirs, bool bReturnPathToo ) { FILEMAN->GetDirListing( sPath, AddTo, bOnlyDirs, bReturnPathToo ); }