mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
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:
parent
3863b8c173
commit
37cf2e98a2
3 changed files with 14 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue