From 1d418afe863c9e553b69174ce63aef203c46d2f0 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sun, 19 Mar 2017 00:33:35 +0100 Subject: Prevent cyclical dependency issue after clang-format includes reorder --- core/method_bind.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/method_bind.cpp') 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 { -- cgit v1.2.3-70-g09d2