summaryrefslogtreecommitdiff
path: root/core/variant
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2022-09-24 18:13:44 +0300
committerDanil Alexeev <danil@alexeev.xyz>2022-09-24 18:13:44 +0300
commit453c5ef6823174aa464c23e0aca3b1f2f00f9bc1 (patch)
treee230829c6680312c248ae95a4ad67c22a49cb2ae /core/variant
parentf74491fdee9bc2d68668137fbacd8f3a7e7e8df7 (diff)
Remove confusing `String + int` and `int + String` operations
Diffstat (limited to 'core/variant')
-rw-r--r--core/variant/variant_op.cpp2
1 files changed, 0 insertions, 2 deletions
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<OperatorEvaluatorAdd<double, double, int64_t>>(Variant::OP_ADD, Variant::FLOAT, Variant::INT);
register_op<OperatorEvaluatorAdd<double, double, double>>(Variant::OP_ADD, Variant::FLOAT, Variant::FLOAT);
register_op<OperatorEvaluatorAdd<String, String, String>>(Variant::OP_ADD, Variant::STRING, Variant::STRING);
- register_op<OperatorEvaluatorAdd<String, char32_t, String>>(Variant::OP_ADD, Variant::INT, Variant::STRING);
- register_op<OperatorEvaluatorAdd<String, String, char32_t>>(Variant::OP_ADD, Variant::STRING, Variant::INT);
register_op<OperatorEvaluatorAdd<Vector2, Vector2, Vector2>>(Variant::OP_ADD, Variant::VECTOR2, Variant::VECTOR2);
register_op<OperatorEvaluatorAdd<Vector2i, Vector2i, Vector2i>>(Variant::OP_ADD, Variant::VECTOR2I, Variant::VECTOR2I);
register_op<OperatorEvaluatorAdd<Vector3, Vector3, Vector3>>(Variant::OP_ADD, Variant::VECTOR3, Variant::VECTOR3);