diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-06-27 11:34:19 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-06-27 11:34:19 +0000 |
commit | 1947e0d3b89d8f4899d9fe14339ab4f54c14c830 (patch) | |
tree | bcc90dee6f2a565a929424c9dd031c03bc9e2f92 /lib/backupstore/BackupStoreAccountDatabase.h | |
parent | 772b9f79c3865f02d97b926960e22d50ca56c9b8 (diff) |
Make BackupStoreAccountDatabase::AddEntry and
BackupStoreAccountDatabase::GetEntry return a copy of the new entry.
Diffstat (limited to 'lib/backupstore/BackupStoreAccountDatabase.h')
-rw-r--r-- | lib/backupstore/BackupStoreAccountDatabase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/backupstore/BackupStoreAccountDatabase.h b/lib/backupstore/BackupStoreAccountDatabase.h index 8d6e7ad8..79573242 100644 --- a/lib/backupstore/BackupStoreAccountDatabase.h +++ b/lib/backupstore/BackupStoreAccountDatabase.h @@ -55,8 +55,8 @@ public: }; bool EntryExists(int32_t ID) const; - const Entry &GetEntry(int32_t ID) const; - void AddEntry(int32_t ID, int DiscSet); + Entry GetEntry(int32_t ID) const; + Entry AddEntry(int32_t ID, int DiscSet); void DeleteEntry(int32_t ID); // This interface should change in the future. But for now it'll do. |