MethodBind: Make sure header order is kept
When clang-format sorts includes alphabetically, MethodBind breaks. Trying to move the object.h include upward in method_bind.h does not seem to fix the problem, this needs investigation.
This commit is contained in:
parent
4261880c94
commit
8d3aedeefd
@ -26,7 +26,10 @@
|
|||||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
// object.h needs to be the first include *before* method_bind.h
|
||||||
|
// FIXME: Find out why and fix potential cyclical dependencies.
|
||||||
#include "object.h"
|
#include "object.h"
|
||||||
|
|
||||||
#include "method_bind.h"
|
#include "method_bind.h"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user