From: Peter Howkins Date: Mon, 2 Apr 2012 14:17:50 +0000 (+0100) Subject: Don't declare 'Chunk' as both public and private, that's just daft. X-Git-Tag: 2.2.0a~26^2~53 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=24d74bceeee475b0093c3f1b46b7e82ea0918c93;p=oweals%2Fcde.git Don't declare 'Chunk' as both public and private, that's just daft. --- diff --git a/cde/programs/dtmail/include/DtMail/Buffer.hh b/cde/programs/dtmail/include/DtMail/Buffer.hh index 59a95ab5..3db90f70 100644 --- a/cde/programs/dtmail/include/DtMail/Buffer.hh +++ b/cde/programs/dtmail/include/DtMail/Buffer.hh @@ -103,7 +103,9 @@ class BufferMemory : public Buffer { virtual int getSize(void); // get total size of the buffer private: +#if !defined(linux) class Chunk; +#endif BufferMemory(const Buffer&); // try and avoid copies void initBuffer(int size); // common constructor