From 1d418afe863c9e553b69174ce63aef203c46d2f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 19 Mar 2017 00:33:35 +0100 Subject: [PATCH] Prevent cyclical dependency issue after clang-format includes reorder --- core/method_bind.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/method_bind.cpp b/core/method_bind.cpp index 93fa32af62f..8e3ae304cb1 100644 --- a/core/method_bind.cpp +++ b/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 {