From eedf3bcbb39a0881f065e124ab3aadbf725dcbca Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Mon, 11 Apr 2005 23:24:30 +0000 Subject: [PATCH] Add a comment about covariant returns git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/archive.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/archive.h b/include/wx/archive.h index c38ac18ce6..574f8bf659 100644 --- a/include/wx/archive.h +++ b/include/wx/archive.h @@ -341,6 +341,8 @@ public: wxMBConv& GetConv() const { return *m_pConv; } protected: + // old compilers don't support covarient returns, so 'Do' methods are + // used to simulate them virtual wxArchiveEntry *DoNewEntry() const = 0; virtual wxArchiveInputStream *DoNewStream(wxInputStream& stream) const = 0; virtual wxArchiveOutputStream *DoNewStream(wxOutputStream& stream) const = 0; -- 2.45.2