Browse Source

Prevent cyclical dependency issue after clang-format includes reorder

Rémi Verschelde 8 years ago
parent
commit
1d418afe86
1 changed files with 3 additions and 1 deletions
  1. 3 1
      core/method_bind.cpp

+ 3 - 1
core/method_bind.cpp

@@ -26,9 +26,11 @@
 /* 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"
 
+#include "method_bind.h"
 
 #ifdef DEBUG_METHODS_ENABLED
 PropertyInfo MethodBind::get_argument_info(int p_argument) const {