From 453c5ef6823174aa464c23e0aca3b1f2f00f9bc1 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Sat, 24 Sep 2022 18:13:44 +0300 Subject: Remove confusing `String + int` and `int + String` operations --- core/variant/variant_op.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/variant') diff --git a/core/variant/variant_op.cpp b/core/variant/variant_op.cpp index 6cca7955ae..5726a15a70 100644 --- a/core/variant/variant_op.cpp +++ b/core/variant/variant_op.cpp @@ -240,8 +240,6 @@ void Variant::_register_variant_operators() { register_op>(Variant::OP_ADD, Variant::FLOAT, Variant::INT); register_op>(Variant::OP_ADD, Variant::FLOAT, Variant::FLOAT); register_op>(Variant::OP_ADD, Variant::STRING, Variant::STRING); - register_op>(Variant::OP_ADD, Variant::INT, Variant::STRING); - register_op>(Variant::OP_ADD, Variant::STRING, Variant::INT); register_op>(Variant::OP_ADD, Variant::VECTOR2, Variant::VECTOR2); register_op>(Variant::OP_ADD, Variant::VECTOR2I, Variant::VECTOR2I); register_op>(Variant::OP_ADD, Variant::VECTOR3, Variant::VECTOR3); -- cgit v1.2.3