mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
fixed compilation
This commit is contained in:
parent
538a11fd14
commit
067d4231ae
3 changed files with 149 additions and 28 deletions
|
@ -121,8 +121,13 @@ class DirectoryStorage
|
|||
class RemoteDirectoryStorage: public DirectoryStorage
|
||||
{
|
||||
public:
|
||||
RemoteDirectoryStorage(const std::string& fname) : DirectoryStorage(fname) {}
|
||||
RemoteDirectoryStorage(const RsPeerId& pid,const std::string& fname) : DirectoryStorage(fname),mPeerId(pid) {}
|
||||
virtual ~RemoteDirectoryStorage() {}
|
||||
|
||||
const RsPeerId& peerId() const { return mPeerId ; }
|
||||
|
||||
private:
|
||||
RsPeerId mPeerId;
|
||||
};
|
||||
|
||||
class LocalDirectoryStorage: public DirectoryStorage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue