diff options
author | Marc <marc.gilleron@gmail.com> | 2021-01-31 20:15:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 20:15:44 +0000 |
commit | e8de1fa2a5e2974c273fde35bc5ecac375ae98ec (patch) | |
tree | 286a8e2e25c18fe11f346835b3021afae2e9b77f /include/core/NodePath.hpp | |
parent | 05ba977cc60653952b73dc03498ebc7a93cef120 (diff) | |
parent | b400dba87534640eeddbcdb6b319335a6a7639d8 (diff) | |
download | redot-cpp-e8de1fa2a5e2974c273fde35bc5ecac375ae98ec.tar.gz |
Merge pull request #490 from Zylann/container_leaks
Fix container and string leaks
Diffstat (limited to 'include/core/NodePath.hpp')
-rw-r--r-- | include/core/NodePath.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/NodePath.hpp b/include/core/NodePath.hpp index 221c5ce..36dda7d 100644 --- a/include/core/NodePath.hpp +++ b/include/core/NodePath.hpp @@ -10,6 +10,11 @@ namespace godot { class NodePath { godot_node_path _node_path; + friend class Variant; + inline explicit NodePath(godot_node_path node_path) { + _node_path = node_path; + } + public: NodePath(); |