Variant: Rename Type::_RID to Type::RID

The underscore prefix was used to avoid the conflict between the `RID` class
name and the matching enum value in `Variant::Type`.

This can be fixed differently by prefixing uses of the `RID` class in `Variant`
with the scope resolution operator, as done already for `AABB`.
This commit is contained in:
Rémi Verschelde 2020-11-09 14:53:05 +01:00
parent bd0c40d051
commit 9d2e8f2f27
No known key found for this signature in database
GPG key ID: C3336907360768E1
31 changed files with 98 additions and 95 deletions

View file

@ -1219,7 +1219,7 @@ void Variant::_register_variant_methods() {
/* RID */
bind_method(RID, get_id, sarray(), varray());
bind_method(::RID, get_id, sarray(), varray());
/* NodePath */