summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupStoreFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backupstore/BackupStoreFile.h')
-rw-r--r--lib/backupstore/BackupStoreFile.h4
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,