mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -04:00
Removed some std::ostringstream.
To be continued. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5103 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
60a68210d5
commit
83bd45caa4
22 changed files with 399 additions and 755 deletions
|
@ -250,18 +250,18 @@ bool ftFiMonitor::saveList(bool &cleanup, std::list<RsItem *>& sList)
|
|||
|
||||
/* basic control parameters */
|
||||
{
|
||||
std::ostringstream s ;
|
||||
s << rememberHashFilesDuration() ;
|
||||
std::string s ;
|
||||
rs_sprintf(s, "%lu", rememberHashFilesDuration()) ;
|
||||
|
||||
configMap[hash_cache_duration_ss] = s.str() ;
|
||||
configMap[hash_cache_duration_ss] = s ;
|
||||
}
|
||||
configMap[hash_cache_ss] = rememberHashFiles()?"YES":"NO" ;
|
||||
|
||||
{
|
||||
std::ostringstream s ;
|
||||
s << watchPeriod() ;
|
||||
std::string s ;
|
||||
rs_sprintf(s, "%d", watchPeriod()) ;
|
||||
|
||||
configMap[watch_file_duration_ss] = s.str() ;
|
||||
configMap[watch_file_duration_ss] = s ;
|
||||
}
|
||||
|
||||
RsConfigKeyValueSet *rskv = new RsConfigKeyValueSet();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue