From f57285605151528afba4133e8aac3739d921bf59 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 27 Aug 2018 02:01:37 +0200 Subject: [PATCH] Fix ifacecheck utility build after array macro changes Previously it was somehow possible to implicitly convert "false" to wxMethodPtrArray (which is an array of wxMethod pointers), but this, correctly, doesn't compile any more, so return an empty array instead. --- utils/ifacecheck/src/xmlparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ifacecheck/src/xmlparser.cpp b/utils/ifacecheck/src/xmlparser.cpp index 26b1493b05..c3db7c9411 100644 --- a/utils/ifacecheck/src/xmlparser.cpp +++ b/utils/ifacecheck/src/xmlparser.cpp @@ -613,7 +613,7 @@ wxMethodPtrArray wxClass::RecursiveUpwardFindMethodsNamed(const wxString& name, if (!parent) { wxLogError("Could not find parent '%s' of class '%s'...", m_parents[i], GetName()); - return false; + return wxMethodPtrArray(); } wxMethodPtrArray temp = parent->RecursiveUpwardFindMethodsNamed(name, allclasses);