summaryrefslogtreecommitdiff
path: root/core/variant/array.h
diff options
context:
space:
mode:
authorDmitrii Maganov <vonagam@gmail.com>2023-01-22 11:07:48 +0200
committerDmitrii Maganov <vonagam@gmail.com>2023-01-27 05:28:08 +0200
commitabe6d6723219b592829fd9ba2a2c78950c83d64e (patch)
tree374101c2ae82959906d06c6a573d6cc63f5b0151 /core/variant/array.h
parentd1e5903c67956707948b1de370b807e3aad395b7 (diff)
GDScript: Fix test for read-only state of constants
Diffstat (limited to 'core/variant/array.h')
-rw-r--r--core/variant/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/array.h b/core/variant/array.h
index 3728c22fe0..d9ca3278fb 100644
--- a/core/variant/array.h
+++ b/core/variant/array.h
@@ -127,7 +127,7 @@ public:
StringName get_typed_class_name() const;
Variant get_typed_script() const;
- void set_read_only(bool p_enable);
+ void make_read_only();
bool is_read_only() const;
Array(const Array &p_base, uint32_t p_type, const StringName &p_class_name, const Variant &p_script);