fix error
This commit is contained in:
@@ -169,7 +169,7 @@ bool MemoryCardDriverThreaded_Linux::DoOneUpdate( bool bMount, vector<UsbStorage
|
|||||||
GetUSBStorageDevices( vStorageDevicesOut );
|
GetUSBStorageDevices( vStorageDevicesOut );
|
||||||
|
|
||||||
// log connects
|
// log connects
|
||||||
FOREACH( UsbStorageDevice, vNew, newd )
|
FOREACH( UsbStorageDevice, vStorageDevicesOut, newd )
|
||||||
{
|
{
|
||||||
vector<UsbStorageDevice>::iterator iter = find( vOld.begin(), vOld.end(), *newd );
|
vector<UsbStorageDevice>::iterator iter = find( vOld.begin(), vOld.end(), *newd );
|
||||||
if( iter == vOld.end() ) // didn't find
|
if( iter == vOld.end() ) // didn't find
|
||||||
|
|||||||
Reference in New Issue
Block a user