diff --git a/util/godot/funcs.cpp b/util/godot/funcs.cpp index 4edb1692..e571456f 100644 --- a/util/godot/funcs.cpp +++ b/util/godot/funcs.cpp @@ -259,7 +259,7 @@ void set_nodes_owner_except_root(Node *root, Node *owner) { void copy_to(Vector &dst, const std::vector &src) { dst.resize(src.size()); // resize can fail in case allocation was not possible - ERR_FAIL_COND(dst.size() != static_cast(src.size())); + ERR_FAIL_COND(dst.size() != static_cast(src.size())); #ifdef REAL_T_IS_DOUBLE // Convert floats to doubles @@ -278,7 +278,7 @@ void copy_to(Vector &dst, const std::vector &src) { void copy_to(Vector &dst, const std::vector &src) { dst.resize(src.size()); // resize can fail in case allocation was not possible - ERR_FAIL_COND(dst.size() != static_cast(src.size())); + ERR_FAIL_COND(dst.size() != static_cast(src.size())); #ifdef REAL_T_IS_DOUBLE // Convert floats to doubles