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> template <typename>
class TPolymorphicContext, class TPolymorphicContext,
typename RTTI> typename RTTI>
class PointerObjectExtensionMultipleBase class MultiplePointerObjectExtensionBase
: public bitsery::ext::pointer_utils:: : public bitsery::ext::pointer_utils::
PointerObjectExtensionBase<TPtrManager, TPolymorphicContext, RTTI> {}; PointerObjectExtensionBase<TPtrManager, TPolymorphicContext, RTTI> {};
template <typename RTTI> template <typename RTTI>
using PointerOwnerMultipleBase = PointerObjectExtensionMultipleBase< using MultiplePointerOwnerBase = MultiplePointerObjectExtensionBase<
bitsery::ext::pointer_details::PtrOwnerManager, bitsery::ext::pointer_details::PtrOwnerManager,
bitsery::ext::PolymorphicContext, bitsery::ext::PolymorphicContext,
RTTI>; RTTI>;
using PointerOwnerMultiple = using MultiplePointerOwner =
PointerOwnerMultipleBase<bitsery::ext::StandardRTTI>; MultiplePointerOwnerBase<bitsery::ext::StandardRTTI>;
namespace bitsery { namespace bitsery {
namespace traits { namespace traits {
template <typename T, typename RTTI> template <typename T, typename RTTI>
struct ExtensionTraits<::PointerOwnerMultipleBase<RTTI>, T*> { struct ExtensionTraits<::MultiplePointerOwnerBase<RTTI>, T*> {
using TValue = T; using TValue = T;
static constexpr bool SupportValueOverload = true; static constexpr bool SupportValueOverload = true;
static constexpr bool SupportObjectOverload = true; static constexpr bool SupportObjectOverload = true;