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.cpp | |
parent | 51d63d54c9ab3a0d53760e0e8a6a5ac57963dd36 (diff) |
Pass std::strings to functions instead of const char *, for C++ style.
Diffstat (limited to 'lib/backupstore/BackupStoreFile.cpp')
-rw-r--r-- | lib/backupstore/BackupStoreFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupstore/BackupStoreFile.cpp b/lib/backupstore/BackupStoreFile.cpp index bd62b7ba..fe25eaee 100644 --- a/lib/backupstore/BackupStoreFile.cpp +++ b/lib/backupstore/BackupStoreFile.cpp @@ -74,7 +74,7 @@ BackupStoreFileStats BackupStoreFile::msStats = {0,0,0}; // // -------------------------------------------------------------------------- std::auto_ptr<IOStream> BackupStoreFile::EncodeFile( - const char *Filename, int64_t ContainerID, + const std::string& Filename, int64_t ContainerID, const BackupStoreFilename &rStoreFilename, int64_t *pModificationTime, ReadLoggingStream::Logger* pLogger, |