From 9a86f82a15f201ed2f6c444833f72cb8d5ff07f9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 29 Sep 2005 06:23:39 +0000 Subject: [PATCH] partial compile fix --- stepmania/src/RageFileManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index 7eb8358b7f..22c539d3af 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -404,7 +404,7 @@ void RageFileManager::GetDirListing( CString sPath, CStringArray &AddTo, bool bO /* Files may only be moved within the same file driver. */ bool RageFileManager::MoveFile( CString sOldPath, CString sNewPath ) { - vector aDriverList; + vector aDriverList; ReferenceAllDrivers( aDriverList ); NormalizePath( sOldPath ); @@ -414,12 +414,12 @@ bool RageFileManager::MoveFile( CString sOldPath, CString sNewPath ) bool Deleted = false; for( unsigned i = 0; i < aDriverList.size(); ++i ) { - const CString sOldDriverPath = aDriverList[i].GetPath( sOldPath ); - const CString sNewDriverPath = aDriverList[i].GetPath( sNewPath ); + const CString sOldDriverPath = aDriverList[i]->GetPath( sOldPath ); + const CString sNewDriverPath = aDriverList[i]->GetPath( sNewPath ); if( sOldDriverPath.size() == 0 || sNewDriverPath.size() == 0 ) continue; - bool ret = aDriverList[i].driver->MoveFile( sOldDriverPath, sNewDriverPath ); + bool ret = aDriverList[i]->m_pDriver->MoveFile( sOldDriverPath, sNewDriverPath ); if( ret ) Deleted = true; }