Переглянути джерело

Fix serializer backward compatibility in CPointerLoader

AlexVinS 9 роки тому
батько
коміт
7eb8dbe0e9
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      lib/Connection.h

+ 1 - 1
lib/Connection.h

@@ -1100,7 +1100,7 @@ public:
 			ptr = ClassObjectCreator<npT>::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);
 		}
 	};