Rename the temporary pointer object extension

This should make it clearer at a glance that it's not the original
implementation.
This commit is contained in:
Robbert van der Helm
2020-03-09 12:32:45 +01:00
parent 765dcf01e3
commit cd8d12094b
+5 -5
View File
@@ -28,23 +28,23 @@ template <template <typename> class TPtrManager,
template <typename>
class TPolymorphicContext,
typename RTTI>
class PointerObjectExtensionMultipleBase
class MultiplePointerObjectExtensionBase
: public bitsery::ext::pointer_utils::
PointerObjectExtensionBase<TPtrManager, TPolymorphicContext, RTTI> {};
template <typename RTTI>
using PointerOwnerMultipleBase = PointerObjectExtensionMultipleBase<
using MultiplePointerOwnerBase = MultiplePointerObjectExtensionBase<
bitsery::ext::pointer_details::PtrOwnerManager,
bitsery::ext::PolymorphicContext,
RTTI>;
using PointerOwnerMultiple =
PointerOwnerMultipleBase<bitsery::ext::StandardRTTI>;
using MultiplePointerOwner =
MultiplePointerOwnerBase<bitsery::ext::StandardRTTI>;
namespace bitsery {
namespace traits {
template <typename T, typename RTTI>
struct ExtensionTraits<::PointerOwnerMultipleBase<RTTI>, T*> {
struct ExtensionTraits<::MultiplePointerOwnerBase<RTTI>, T*> {
using TValue = T;
static constexpr bool SupportValueOverload = true;
static constexpr bool SupportObjectOverload = true;