X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e8e867ff99be2e9d02e4e94766d27068ae66f57..b4626104e5a68430c5c7c4f3a0b79425be9945e8:/include/wx/archive.h 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;