fixed bug in removing top dirs when creating file hierarhies

This commit is contained in:
csoler 2017-10-21 18:09:26 +02:00
parent cbcf402e0b
commit edffbc3670
3 changed files with 12 additions and 7 deletions
libretroshare/src/retroshare

View file

@ -144,7 +144,7 @@ class FileTree
public:
virtual ~FileTree() {}
static FileTree *create(const DirDetails& dd, bool remote) ;
static FileTree *create(const DirDetails& dd, bool remote, bool remove_top_dirs = true) ;
static FileTree *create(const std::string& radix64_string) ;
virtual std::string toRadix64() const =0 ;