No more shared pointers

This commit is contained in:
Dynamitos
2023-11-01 23:12:30 +01:00
parent 5a9cb13e74
commit 4746c0f838
69 changed files with 524 additions and 681 deletions
+2 -2
View File
@@ -46,9 +46,9 @@ namespace Serialization
type.load(buffer);
}
template<typename T>
static void save(ArchiveBuffer& buffer, const RefPtr<T>& ptr);
static void save(ArchiveBuffer& buffer, const OwningPtr<T>& ptr);
template<typename T>
static void load(ArchiveBuffer& buffer, RefPtr<T>& ptr);
static void load(ArchiveBuffer& buffer, OwningPtr<T>& ptr);
static void save(ArchiveBuffer& buffer, const std::string& type)
{
uint64 length = type.size();