Index: src/ch/DestPath.h =================================================================== diff -u -N -rd5c3edd0d167db9b5d47d04248820fda49499a5e -r5057e08b0cc064972abeb94a488e5f12d9db14a0 --- src/ch/DestPath.h (.../DestPath.h) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/ch/DestPath.h (.../DestPath.h) (revision 5057e08b0cc064972abeb94a488e5f12d9db14a0) @@ -19,8 +19,6 @@ #ifndef __DESTPATH_H__ #define __DESTPATH_H__ -#include "../libicpf/file.h" - class CDestPath { public: @@ -31,7 +29,13 @@ int GetDriveNumber() const { return m_iDriveNumber; }; UINT GetDriveType() const { return m_uiDriveType; }; - void Serialize(icpf::archive& ar); + template + void serialize(Archive& ar, unsigned int /*uiVersion*/) + { + ar & m_strPath; + ar & m_iDriveNumber; + ar & m_uiDriveType; + } protected: CString m_strPath; // always with ending '\\'