]> git.saurik.com Git - wxWidgets.git/commitdiff
explicitly forward declare wxHashTableBase when wxUSE_STL == 1; this is apparently...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Sep 2004 18:19:22 +0000 (18:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Sep 2004 18:19:22 +0000 (18:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/hash.h

index d9749ef6ad719113b96581fe451e1a7d8e4d135c..247a844637e17be3e90fd919ad516f6c64137ec6 100644 (file)
@@ -111,6 +111,10 @@ union wxHashKeyValue
     wxChar *string;
 };
 
+// for some compilers (AIX xlC), defining it as friend inside the class is not
+// enough, so provide a real forward declaration
+class WXDLLIMPEXP_BASE wxHashTableBase;
+
 class WXDLLIMPEXP_BASE wxHashTableBase_Node
 {
     friend class WXDLLIMPEXP_BASE wxHashTableBase;