Explorar el Código

Prevent cyclical dependency issue after clang-format includes reorder

Rémi Verschelde hace 8 años
padre
commit
1d418afe86
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 {