summaryrefslogtreecommitdiff
path: root/core/variant/array.h
diff options
context:
space:
mode:
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);