diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-29 17:41:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 17:41:58 +0200 |
commit | 2fc31fdfca29753977b36180e6aab9c28e84cddc (patch) | |
tree | 2d77b9f1248f459d0adae43c54eb72f67339300e /core/variant | |
parent | 27d4e2f09fe76e06e6b4751025acc79d993c61e5 (diff) | |
parent | 0276c2e74a3212a806119bccb659ceb9dcc25a41 (diff) |
Merge pull request #53217 from Faless/ext/fix_pointer_info
Diffstat (limited to 'core/variant')
-rw-r--r-- | core/variant/native_ptr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/native_ptr.h b/core/variant/native_ptr.h index b7e8d92f62..913d4d8f7c 100644 --- a/core/variant/native_ptr.h +++ b/core/variant/native_ptr.h @@ -55,7 +55,7 @@ struct GDNativePtr { #define GDVIRTUAL_NATIVE_PTR(m_type) \ template <> \ - struct GDNativeConstPtr<m_type> { \ + struct GDNativeConstPtr<const m_type> { \ const m_type *data = nullptr; \ GDNativeConstPtr(const m_type *p_assign) { data = p_assign; } \ static const char *get_name() { return "const " #m_type; } \ |