|author||Chris Wilson <email@example.com>||2013-08-22 00:17:34 +0000|
|committer||Chris Wilson <firstname.lastname@example.org>||2013-08-22 00:17:34 +0000|
Pass std::auto_ptr objects to Protocol for upload.
Passing raw pointers is bad C++ style, and dangerous, because Protocol will free the passed-in pointers after uploading them, so we should not keep using them. Reduce code duplication in BackupClientDirectoryRecord patch/normal upload. Return a std::auto_ptr<BackupStoreFileEncodeStream> instead of a std::auto_ptr<IOStream> from BackupStoreFile::EncodeFile* functions.
Diffstat (limited to 'test/backupstorefix/testbackupstorefix.cpp')
0 files changed, 0 insertions, 0 deletions