diff options
author | Chris Wilson <chris+github@qwirx.com> | 2013-08-21 00:57:17 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2013-08-21 00:57:17 +0000 |
commit | 9662290600dd0a9fac3626ca07da0cb8c40e62b0 (patch) | |
tree | e22b7fc70b7c83ba7a24d2787ef5fcb9127cddcd /lib/backupstore/BackupStoreFile.h | |
parent | 51d63d54c9ab3a0d53760e0e8a6a5ac57963dd36 (diff) |
Pass std::strings to functions instead of const char *, for C++ style.
Diffstat (limited to 'lib/backupstore/BackupStoreFile.h')
-rw-r--r-- | lib/backupstore/BackupStoreFile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/backupstore/BackupStoreFile.h b/lib/backupstore/BackupStoreFile.h index 8398429a..e24ff8cb 100644 --- a/lib/backupstore/BackupStoreFile.h +++ b/lib/backupstore/BackupStoreFile.h @@ -121,7 +121,7 @@ public: // Main interface static std::auto_ptr<IOStream> EncodeFile ( - const char *Filename, + const std::string& Filename, int64_t ContainerID, const BackupStoreFilename &rStoreFilename, int64_t *pModificationTime = 0, ReadLoggingStream::Logger* pLogger = NULL, @@ -129,7 +129,7 @@ public: ); static std::auto_ptr<IOStream> EncodeFileDiff ( - const char *Filename, int64_t ContainerID, + const std::string& Filename, int64_t ContainerID, const BackupStoreFilename &rStoreFilename, int64_t DiffFromObjectID, IOStream &rDiffFromBlockIndex, int Timeout, |