summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-07-20 21:24:09 +0000
committerChris Wilson <chris+github@qwirx.com>2012-07-20 21:24:09 +0000
commit39674718283f1de404d9a84cccf2d7b9d5449483 (patch)
treefabe9ff127ddf83c5c5ffbd004e56447bf873d9a
parent75227afcae1b00cf2c84cbc49b3605cbea6470ba (diff)
Fix compile error on MSVC due to attempt to convert a std::list::iterator
to a std::vector::iterator.
-rw-r--r--bin/bbackupd/BackupDaemon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp
index 3b920d37..8133aec3 100644
--- a/bin/bbackupd/BackupDaemon.cpp
+++ b/bin/bbackupd/BackupDaemon.cpp
@@ -1317,7 +1317,7 @@ void BackupDaemon::CreateVssBackupComponents()
}
// 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 @@ void BackupDaemon::CreateVssBackupComponents()
}
// 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++)