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:
thunder2 2012-05-03 13:41:03 +00:00
parent 5b23a0e112
commit 3718d6ecfa
7 changed files with 48 additions and 48 deletions

View file

@ -50,7 +50,6 @@
#include <errno.h>
#include <cmath>
#include <sstream> // for std::istringstream
#include <stdio.h>
#include "util/rsdebug.h"
@ -605,12 +604,11 @@ bool p3turtle::loadList(std::list<RsItem*>& load)
#ifdef CHAT_DEBUG
std::cerr << "Loaded config default nick name for chat: " << kit->value << std::endl ;
#endif
std::istringstream is(kit->value) ;
int val ;
is >> val ;
setMaxTRForwardRate(val) ;
if (sscanf(kit->value.c_str(), "%d", &val) == 1)
{
setMaxTRForwardRate(val) ;
}
}
delete vitem ;