mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 23:25:32 -04:00
Removed usages of "std::istringstream" and "std::stringstream".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5b23a0e112
commit
3718d6ecfa
7 changed files with 48 additions and 48 deletions
|
@ -34,7 +34,6 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream> // for std::istringstream
|
||||
#include <iomanip>
|
||||
|
||||
#include <dirent.h>
|
||||
|
@ -131,9 +130,8 @@ HashCache::HashCache(const std::string& path)
|
|||
|
||||
f.getline(buff,max_line_size,'\n') ; //if(sscanf(buff,"%llu",&info.size) != 1) break ;
|
||||
|
||||
std::istringstream ss(buff) ;
|
||||
info.size = 0 ;
|
||||
ss >> info.size ;
|
||||
sscanf(buff, UINT64FMT, &info.size);
|
||||
|
||||
f.getline(buff,max_line_size,'\n') ; if(sscanf(buff,"%ld",&info.time_stamp) != 1) break ;
|
||||
f.getline(buff,max_line_size,'\n') ; if(sscanf(buff,"%ld",&info.modf_stamp) != 1) break ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue