summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-14 22:07:28 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-14 22:07:28 +0100
commit8d3aedeefd1688b81b120f2fdead6ad8c5823ee2 (patch)
tree0e2cc5d0312d937e4589b2c0c882120a392dc6b4
parent4261880c9402c1419cb211e10e974b662e37e03c (diff)
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.
-rw-r--r--core/method_bind.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/method_bind.cpp b/core/method_bind.cpp
index f323f3bc24..3465edff63 100644
--- a/core/method_bind.cpp
+++ b/core/method_bind.cpp
@@ -26,7 +26,10 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* 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 "method_bind.h"