diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-02-14 14:07:17 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-02-14 14:07:17 +0100 |
commit | 8d009e3e8ac6c6431a8bc79a07d9ad7c0295d160 (patch) | |
tree | 361496f3f028a8c876c1059fd547b0191237ce67 /apt-pkg/contrib/mmap.h | |
parent | 5645e8b1cebb57134df717b8339248811cb762f2 (diff) | |
parent | 94244f75f8280c9b4018736d503d17455c284b2d (diff) |
merged from debian-sid
Diffstat (limited to 'apt-pkg/contrib/mmap.h')
-rw-r--r-- | apt-pkg/contrib/mmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/mmap.h b/apt-pkg/contrib/mmap.h index 5ca951204..e9baa9339 100644 --- a/apt-pkg/contrib/mmap.h +++ b/apt-pkg/contrib/mmap.h @@ -61,6 +61,7 @@ class MMap inline operator void *() {return Base;}; inline void *Data() {return Base;}; inline unsigned long Size() {return iSize;}; + inline void AddSize(unsigned long const size) {iSize += size;}; // File manipulators bool Sync(); |