summaryrefslogtreecommitdiff
path: root/core/io/packed_data_container.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-09 14:53:05 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-11-09 16:29:04 +0100
commit9d2e8f2f27ec467e9004e0d94f8106b3bb1d0afd (patch)
tree26bd086695171bf2b932e7e82175ecba722df7db /core/io/packed_data_container.cpp
parentbd0c40d05197aee3b7257d1954a7061a4a272e6b (diff)
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`.
Diffstat (limited to 'core/io/packed_data_container.cpp')
-rw-r--r--core/io/packed_data_container.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/packed_data_container.cpp b/core/io/packed_data_container.cpp
index f70482288d..fbe8fa8a28 100644
--- a/core/io/packed_data_container.cpp
+++ b/core/io/packed_data_container.cpp
@@ -246,7 +246,7 @@ uint32_t PackedDataContainer::_pack(const Variant &p_data, Vector<uint8_t> &tmpd
} break;
// misc types
- case Variant::_RID:
+ case Variant::RID:
case Variant::OBJECT: {
return _pack(Variant(), tmpdata, string_cache);
} break;