[Box Backup-commit] COMMIT r3117 - box/trunk/bin/bbackupd

subversion at boxbackup.org subversion at boxbackup.org
Fri Jul 20 22:24:10 BST 2012


Author: chris
Date: 2012-07-20 22:24:09 +0100 (Fri, 20 Jul 2012)
New Revision: 3117

Modified:
   box/trunk/bin/bbackupd/BackupDaemon.cpp
Log:
Fix compile error on MSVC due to attempt to convert a std::list::iterator
to a std::vector::iterator.


Modified: box/trunk/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/trunk/bin/bbackupd/BackupDaemon.cpp	2012-06-29 22:19:10 UTC (rev 3116)
+++ box/trunk/bin/bbackupd/BackupDaemon.cpp	2012-07-20 21:24:09 UTC (rev 3117)
@@ -1317,7 +1317,7 @@
 	}
 
 	// Add all volumes included as backup locations to the snapshot set
-	for(std::vector<Location *>::iterator
+	for(Locations::iterator
 		iLocation  = mLocations.begin();
 		iLocation != mLocations.end();
 		iLocation++)
@@ -1478,7 +1478,7 @@
 	}
 
 	// lookup new snapshot volume for each location that has a snapshot
-	for(std::vector<Location *>::iterator
+	for(Locations::iterator
 		iLocation  = mLocations.begin();
 		iLocation != mLocations.end();
 		iLocation++)




More information about the Boxbackup-commit mailing list