From b6103167f77f634015f6389de7d4cd93e8288f81 Mon Sep 17 00:00:00 2001 From: AlexVinS Date: Thu, 18 Feb 2016 18:08:05 +0300 Subject: [PATCH] Fix serializer backward compatibility in CPointerLoader --- lib/Connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Connection.h b/lib/Connection.h index dedc6dc69..ca084e8ba 100644 --- a/lib/Connection.h +++ b/lib/Connection.h @@ -1100,7 +1100,7 @@ public: ptr = ClassObjectCreator::invoke(); //does new npT or throws for abstract classes s.ptrAllocated(ptr, pid); //T is most derived known type, it's time to call actual serialize - ptr->serialize(s,version); + ptr->serialize(s,s.fileVersion); return &typeid(T); } };