remove boost call

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2030 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2010-01-14 00:35:16 +00:00
parent 3863b8c173
commit 37cf2e98a2
3 changed files with 14 additions and 9 deletions

View file

@ -29,7 +29,6 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include <boost/lexical_cast.hpp>
#include "serialiser/rsconfigitems.h"
@ -1383,7 +1382,10 @@ int AuthGPG::privateTrustCertificate(std::string id, int trustlvl)
gpgcert trustCert = mKeyList.find(id)->second;
gpgme_key_t trustKey = trustCert.key;
class TrustParams sparams((boost::lexical_cast<std::string>(trustlvl)));
std::string trustString;
std::ostringstream trustStrOut;
trustStrOut << trustlvl;
class TrustParams sparams(trustStrOut.str());
class EditParams params(TRUST_START, &sparams);
gpgme_data_t out;
gpg_error_t ERR;