summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/mmap.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2011-02-14 12:05:35 +0100
committerMichael Vogt <mvo@debian.org>2011-02-14 12:05:35 +0100
commit1fc07a44e8191e00fc1566bfc15e8b370da77330 (patch)
tree94603cf04d736dc500130389f2ef5ba4b027c8bc /apt-pkg/contrib/mmap.h
parent1dda80929fcd62c287a84f1ecc1277fc39890efe (diff)
parent2cae0ccb49efbeebe33f364b61e639ebf2639bdd (diff)
merged from lp:~donkult/apt/sid
Diffstat (limited to 'apt-pkg/contrib/mmap.h')
-rw-r--r--apt-pkg/contrib/mmap.h1
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();