]> git.saurik.com Git - wxWidgets.git/commitdiff
Add a comment about covariant returns
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 11 Apr 2005 23:24:30 +0000 (23:24 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 11 Apr 2005 23:24:30 +0000 (23:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/archive.h

index c38ac18ce6b31e75a56efab40ed7380f50c567aa..574f8bf659ade90bf41bdf5e46dac6624fc74fd0 100644 (file)
@@ -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;