summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/classes/ref.hpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-16 10:29:45 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-06-16 10:29:45 +0200
commitf0065bd8016c635a9b2146d1b921644b1fc10caa (patch)
tree08d53ae511dd7f18f07cfd5920a5f699cb5e2143 /include/godot_cpp/classes/ref.hpp
parent1bc9ca7b57799dd03dcb65b4a5a178bf1176ebcf (diff)
parentdb2394dbe76e0df9ac6933c38af7e7635367ee7b (diff)
downloadredot-cpp-f0065bd8016c635a9b2146d1b921644b1fc10caa.tar.gz
Merge pull request #1048 from asmaloney/reserved_identifiers
Identifiers containing double underscore are reserved according to the C++ standard
Diffstat (limited to 'include/godot_cpp/classes/ref.hpp')
-rw-r--r--include/godot_cpp/classes/ref.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/classes/ref.hpp b/include/godot_cpp/classes/ref.hpp
index 92a1e7f..f30928a 100644
--- a/include/godot_cpp/classes/ref.hpp
+++ b/include/godot_cpp/classes/ref.hpp
@@ -219,7 +219,7 @@ public:
// Used exclusively in the bindings to recreate the Ref Godot encapsulates in return values,
// without adding to the refcount.
- inline static Ref<T> ___internal_constructor(Object *obj) {
+ inline static Ref<T> _gde_internal_constructor(Object *obj) {
Ref<T> r;
r.reference = (T *)obj;
return r;