Don't declare 'Chunk' as both public and private, that's just daft.
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 2 Apr 2012 14:17:50 +0000 (15:17 +0100)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 2 Apr 2012 14:17:50 +0000 (15:17 +0100)
cde/programs/dtmail/include/DtMail/Buffer.hh

index 59a95ab5834c4241290e57dad9867d769a335842..3db90f70395f95f08d33f6520328cbb583521419 100644 (file)
@@ -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