summaryrefslogtreecommitdiff
path: root/core/variant/variant.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-20 22:01:37 +0100
committerGitHub <noreply@github.com>2022-01-20 22:01:37 +0100
commitd681d99e126bcac87823510ba2a71af0ace6e8dc (patch)
treea9f5eaf4ecf107dff251486b207fd732776b2a8c /core/variant/variant.cpp
parent04d283dc230e20f0e744768aa7645f414a8e88b6 (diff)
parent7b0ed2aa5e4b9d9807037d57f0fc80fe8dd6fb39 (diff)
Merge pull request #52134 from RandomShaper/fix_naming
Diffstat (limited to 'core/variant/variant.cpp')
-rw-r--r--core/variant/variant.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant.cpp b/core/variant/variant.cpp
index db198da54a..0f981d0c9e 100644
--- a/core/variant/variant.cpp
+++ b/core/variant/variant.cpp
@@ -3256,7 +3256,7 @@ bool Variant::hash_compare(const Variant &p_variant, int recursion_count) const
return false;
}
-bool Variant::is_ref() const {
+bool Variant::is_ref_counted() const {
return type == OBJECT && _get_obj().id.is_ref_counted();
}