diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-06-28 19:25:25 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-06-28 19:25:25 +0000 |
commit | b825423ed5c17f244047bddaeaa6cbbb4742ce1a (patch) | |
tree | 005b4d928f2cae939b9c9be3f56c1de2ca7fcff2 /lib/backupstore/BackupStoreRefCountDatabase.cpp | |
parent | ccf38b0c4d1df1ea1efd215a38f65e6056c7fcea (diff) |
Make GetRefCount return a refcount_t rather than an int32_t.
Make refcount_t unsigned and make its definition public.
Diffstat (limited to 'lib/backupstore/BackupStoreRefCountDatabase.cpp')
-rw-r--r-- | lib/backupstore/BackupStoreRefCountDatabase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/backupstore/BackupStoreRefCountDatabase.cpp b/lib/backupstore/BackupStoreRefCountDatabase.cpp index 92ba947d..322c0da7 100644 --- a/lib/backupstore/BackupStoreRefCountDatabase.cpp +++ b/lib/backupstore/BackupStoreRefCountDatabase.cpp @@ -247,7 +247,8 @@ void BackupStoreRefCountDatabase::Save() // Created: 2009/06/01 // // -------------------------------------------------------------------------- -int32_t BackupStoreRefCountDatabase::GetRefCount(int64_t ObjectID) const +BackupStoreRefCountDatabase::refcount_t +BackupStoreRefCountDatabase::GetRefCount(int64_t ObjectID) const { IOStream::pos_type offset = GetOffset(ObjectID); |