From 1fd59b98fb73e54a1d19f8b8dc4a50aa55fa315a Mon Sep 17 00:00:00 2001 From: VolTer Date: Thu, 20 Oct 2022 03:03:47 +0200 Subject: Remove duplicate operator registrations --- core/variant/variant_op.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core/variant') diff --git a/core/variant/variant_op.cpp b/core/variant/variant_op.cpp index 6cca7955ae..301fd00d26 100644 --- a/core/variant/variant_op.cpp +++ b/core/variant/variant_op.cpp @@ -384,10 +384,6 @@ void Variant::_register_variant_operators() { register_op>(Variant::OP_DIVIDE, Variant::VECTOR2I, Variant::FLOAT); register_op>(Variant::OP_DIVIDE, Variant::VECTOR2I, Variant::INT); - register_op>(Variant::OP_DIVIDE, Variant::VECTOR2, Variant::VECTOR2); - register_op>(Variant::OP_DIVIDE, Variant::VECTOR2, Variant::FLOAT); - register_op>(Variant::OP_DIVIDE, Variant::VECTOR2, Variant::INT); - register_op>(Variant::OP_DIVIDE, Variant::VECTOR3, Variant::VECTOR3); register_op>(Variant::OP_DIVIDE, Variant::VECTOR3, Variant::FLOAT); register_op>(Variant::OP_DIVIDE, Variant::VECTOR3, Variant::INT); @@ -498,8 +494,6 @@ void Variant::_register_variant_operators() { register_op>(Variant::OP_BIT_XOR, Variant::INT, Variant::INT); register_op>(Variant::OP_BIT_NEGATE, Variant::INT, Variant::NIL); - register_op>(Variant::OP_BIT_NEGATE, Variant::INT, Variant::NIL); - register_op>(Variant::OP_EQUAL, Variant::NIL, Variant::NIL); register_op>(Variant::OP_EQUAL, Variant::BOOL, Variant::BOOL); register_op>(Variant::OP_EQUAL, Variant::INT, Variant::INT); -- cgit v1.2.3