Godot Engine – Multi-platform 2D and 3D game engine
Delete `operator=(const m_class &p_rval)` on `Object`
David Snopek5aa635fe6af9
diff --git a/core/object/object.h b/core/object/object.hindex f28641231f2..2c46ee944dc 100644--- a/core/object/object.h+++ b/core/object/object.h@@ -248,7 +248,7 @@ private:#define GDCLASS(m_class, m_inherits) \GDSOFTCLASS(m_class, m_inherits) \private: \- void operator=(const m_class &p_rval) {} \+ void operator=(const m_class &p_rval) = delete; \friend class ::ClassDB; \\static GDType &get_gdtype_static_mutable() { \