From 4df112cd95840313600d0f850ec52a56d0961386 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Tue, 20 Jun 2023 10:03:15 -0500 Subject: Attempt to fully implement CharString --- include/godot_cpp/templates/cowdata.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/godot_cpp/templates') diff --git a/include/godot_cpp/templates/cowdata.hpp b/include/godot_cpp/templates/cowdata.hpp index 1753687..18320d8 100644 --- a/include/godot_cpp/templates/cowdata.hpp +++ b/include/godot_cpp/templates/cowdata.hpp @@ -32,13 +32,13 @@ #define GODOT_COWDATA_HPP #include -#include #include #include #include #include #include +#include namespace godot { @@ -48,6 +48,9 @@ class Vector; template class VMap; +template +class CharStringT; + // Silence a false positive warning (see GH-52119). #if defined(__GNUC__) && !defined(__clang__) #pragma GCC diagnostic push @@ -62,6 +65,9 @@ class CowData { template friend class VMap; + template + friend class CharStringT; + private: mutable T *_ptr = nullptr; -- cgit v1.2.3