aboutsummaryrefslogtreecommitdiff
path: root/core/method_bind.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-03-19 00:33:35 +0100
committerRémi Verschelde2017-03-19 00:33:35 +0100
commit1d418afe863c9e553b69174ce63aef203c46d2f0 (patch)
tree722177fe761c655ff2cf2a9ff2d5326401c3f790 /core/method_bind.cpp
parentd4e0be7632b83439520db2f3c7486fe2ff584702 (diff)
downloadgodot-1d418afe863c9e553b69174ce63aef203c46d2f0.tar.gz
godot-1d418afe863c9e553b69174ce63aef203c46d2f0.tar.zst
godot-1d418afe863c9e553b69174ce63aef203c46d2f0.zip
Prevent cyclical dependency issue after clang-format includes reorder
Diffstat (limited to '')
-rw-r--r--core/method_bind.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/method_bind.cpp b/core/method_bind.cpp
index 93fa32af6..8e3ae304c 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 {