summaryrefslogtreecommitdiff
path: root/bin/bbackupd/BackupClientDirectoryRecord.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-08-15 22:47:27 +0000
committerChris Wilson <chris+github@qwirx.com>2014-08-15 22:47:27 +0000
commit59b5045c4005dd85658de4f613237e21e897f6b2 (patch)
treea133d48298c03d5ab7baddc7d1fc308dc3ee1da8 /bin/bbackupd/BackupClientDirectoryRecord.h
parent84d41d846b44d94ec87105e92aa5a2513975dd2b (diff)
Use std::auto_ptrs instead of bare pointers for exclude lists.
Allows us to remove code to handle cleanups after exceptions and on Location destruction.
Diffstat (limited to 'bin/bbackupd/BackupClientDirectoryRecord.h')
-rw-r--r--bin/bbackupd/BackupClientDirectoryRecord.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/bbackupd/BackupClientDirectoryRecord.h b/bin/bbackupd/BackupClientDirectoryRecord.h
index 5af4d9ac..7c2b98fc 100644
--- a/bin/bbackupd/BackupClientDirectoryRecord.h
+++ b/bin/bbackupd/BackupClientDirectoryRecord.h
@@ -214,10 +214,10 @@ private:
public:
std::string mName;
std::string mPath;
- std::auto_ptr<BackupClientDirectoryRecord> mpDirectoryRecord;
+ std::auto_ptr<BackupClientDirectoryRecord> mapDirectoryRecord;
+ std::auto_ptr<ExcludeList> mapExcludeFiles;
+ std::auto_ptr<ExcludeList> mapExcludeDirs;
int mIDMapIndex;
- ExcludeList *mpExcludeFiles;
- ExcludeList *mpExcludeDirs;
#ifdef ENABLE_VSS
bool mIsSnapshotCreated;