* Profiling : move storage from FS.cpp to Profiling.cpp

This commit is contained in:
hagen 2016-02-20 01:00:00 +00:00
parent b69fbdda9a
commit 0d15eceacb
5 changed files with 13 additions and 11 deletions

5
FS.cpp
View file

@ -22,7 +22,6 @@ namespace fs {
#else
std::string dirSep = "/";
#endif
HashedStorage Peers("peerProfiles", "p", "profile-", "txt");
const std::string & GetAppName () {
return appName;
@ -71,8 +70,6 @@ namespace fs {
if (boost::filesystem::exists(destinations))
boost::filesystem::create_directory(destinations);
Peers.SetPlace(dataDir);
Peers.Init(i2p::data::GetBase64SubstitutionTable(), 64);
return true;
}
@ -153,7 +150,5 @@ namespace fs {
files.push_back(t);
}
}
HashedStorage & GetPeerProfiles() { return Peers; }
} // fs
} // i2p