No more shared pointers

This commit is contained in:
Dynamitos committed 2023-11-01 23:12:30 +01:00
1 parent 5a9cb13e74
commit 4746c0f838
69 files changed
+524 -681

No files matched your search

+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();