mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-14 06:31:17 +00:00
091d90aba5
# Conflicts: # source/CMakeLists.txt
17 lines
472 B
C++
17 lines
472 B
C++
#pragma once
|
|
|
|
// These are in a separate header because they require some rather 'dirty' headers to work which should not be part of serializer.h
|
|
|
|
template<class T>
|
|
FSerializer &Serialize(FSerializer &arc, const char *key, TObjPtr<T> &value, TObjPtr<T> *)
|
|
{
|
|
Serialize(arc, key, value.o, nullptr);
|
|
return arc;
|
|
}
|
|
|
|
template<class T>
|
|
FSerializer &Serialize(FSerializer &arc, const char *key, TObjPtr<T> &value, T *)
|
|
{
|
|
Serialize(arc, key, value.o, nullptr);
|
|
return arc;
|
|
}
|