1.1 --- a/pages_conserving.h Wed Mar 24 23:44:53 2021 +0100
1.2 +++ b/pages_conserving.h Thu Mar 25 01:42:50 2021 +0100
1.3 @@ -9,11 +9,8 @@
1.4
1.5 class PagesConserving : public Pages
1.6 {
1.7 -protected:
1.8 - unsigned int _increment;
1.9 -
1.10 public:
1.11 - explicit PagesConserving(Memory *memory, unsigned int increment=1);
1.12 + explicit PagesConserving(Memory *memory);
1.13
1.14 explicit PagesConserving();
1.15
1.16 @@ -27,11 +24,9 @@
1.17
1.18 /* Memory control methods. */
1.19
1.20 - virtual bool decrease();
1.21 + virtual bool decrease(offset_t size);
1.22
1.23 - virtual bool increase();
1.24 -
1.25 - virtual offset_t allocation();
1.26 + virtual bool increase(offset_t size);
1.27 };
1.28
1.29 // vim: tabstop=4 expandtab shiftwidth=4