]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/NullDelayId.h
294913f452bdc8fc531f66abc4c3de69f7a58f98
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 /* DEBUG: section 77 Delay Pools */
15 #include "base/RefCount.h"
16 #include "DelayIdComposite.h"
18 class NullDelayId
: public DelayIdComposite
22 void *operator new(size_t);
23 void operator delete (void *);
24 virtual int bytesWanted (int minimum
, int maximum
) const {return max(minimum
,maximum
);}
26 virtual void bytesIn(int qty
) {}
29 #endif /* NULLDELAYID_H */