summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupDaemon.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2012-02-02 22:18:44 +0000
committerChris Wilson <chris+github@qwirx.com>2012-02-02 22:18:44 +0000
commitd73d72cc1518bba09d6966794f871c4ad88dbf5f (patch)
treea54be67bbf03c234d43e25bc78635c9f6ac8541f /bin/bbackupd/BackupDaemon.h
parenta72010d60e5573ff3739e2dea6a25ebbdc6449bb (diff)
If a location was not present (on disk) when bbackupd started, don't forget
about it but start backing it up if it appears subsequently.
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r--bin/bbackupd/BackupDaemon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h
index c584a2bd..5dd9c477 100644
--- a/bin/bbackupd/BackupDaemon.h
+++ b/bin/bbackupd/BackupDaemon.h
@@ -157,13 +157,13 @@ private:
int UseScriptToSeeIfSyncAllowed();
public:
- typedef const std::vector<Location *> Locations;
+ typedef std::list<Location *> Locations;
Locations GetLocations() { return mLocations; }
private:
int mState; // what the daemon is currently doing
- std::vector<Location *> mLocations;
+ Locations mLocations;
std::vector<std::string> mIDMapMounts;
std::vector<BackupClientInodeToIDMap *> mCurrentIDMaps;