explicitly forward declare wxHashTableBase when wxUSE_STL == 1; this is apparently needed for xlC (AIX compiler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,6 +111,10 @@ union wxHashKeyValue
|
|||||||
wxChar *string;
|
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
|
class WXDLLIMPEXP_BASE wxHashTableBase_Node
|
||||||
{
|
{
|
||||||
friend class WXDLLIMPEXP_BASE wxHashTableBase;
|
friend class WXDLLIMPEXP_BASE wxHashTableBase;
|
||||||
|
Reference in New Issue
Block a user