diff --git a/libretroshare/src/file_sharing/directory_storage.cc b/libretroshare/src/file_sharing/directory_storage.cc index f87da14d4..5cb47650c 100644 --- a/libretroshare/src/file_sharing/directory_storage.cc +++ b/libretroshare/src/file_sharing/directory_storage.cc @@ -306,6 +306,12 @@ void DirectoryStorage::checkSave() /* Local Directory Storage */ /******************************************************************************************************************/ +LocalDirectoryStorage::LocalDirectoryStorage(const std::string& fname,const RsPeerId& own_id) + : DirectoryStorage(own_id,fname) +{ + mTSChanged = false ; +} + RsFileHash LocalDirectoryStorage::makeEncryptedHash(const RsFileHash& hash) { return RsDirUtil::sha1sum(hash.toByteArray(),hash.SIZE_IN_BYTES); diff --git a/libretroshare/src/file_sharing/directory_storage.h b/libretroshare/src/file_sharing/directory_storage.h index df418df2b..c0eee75e0 100644 --- a/libretroshare/src/file_sharing/directory_storage.h +++ b/libretroshare/src/file_sharing/directory_storage.h @@ -210,7 +210,7 @@ private: class LocalDirectoryStorage: public DirectoryStorage { public: - LocalDirectoryStorage(const std::string& fname,const RsPeerId& own_id) : DirectoryStorage(own_id,fname) {} + LocalDirectoryStorage(const std::string& fname,const RsPeerId& own_id); virtual ~LocalDirectoryStorage() {} /*!