Commit 1cf56c62 authored by Volodymyr Shamray's avatar Volodymyr Shamray
Browse files

Remove C++11-specific features

parent 5896c616
Showing with 2 additions and 2 deletions
+2 -2
......@@ -1250,7 +1250,7 @@ void CBudgetManager::Sync(CNode* pfrom, uint256 nProp, bool fPartial)
bool CBudgetManager::SubmitProposalVote(const CBudgetVote& vote, std::string& strError)
{
map<uint256, CBudgetProposal>::const_iterator found = mapProposals.find(vote.nProposalHash);
map<uint256, CBudgetProposal>::iterator found = mapProposals.find(vote.nProposalHash);
if (found == std::end(mapProposals))
{
strError = "Proposal not found!";
......
......@@ -37,7 +37,7 @@ namespace
CKey CreateKeyPair(std::vector<unsigned char> privKey)
{
CKey keyPair;
keyPair.Set(std::begin(privKey), std::end(privKey), true);
keyPair.Set(privKey.begin(), privKey.end(), true);
return keyPair;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment