Discover some missing includes

This commit is contained in:
jtimon 2014-08-23 05:09:47 +02:00 committed by jtimon
parent 8d5e5102f6
commit 53efb09e4c
6 changed files with 10 additions and 1 deletions

View file

@ -10,6 +10,8 @@
#include <math.h> #include <math.h>
#include <stdlib.h> #include <stdlib.h>
#include <boost/foreach.hpp>
#define LN2SQUARED 0.4804530139182014246671025263266649717305529515945455 #define LN2SQUARED 0.4804530139182014246671025263266649717305529515945455
#define LN2 0.6931471805599453094172321214581765680755001343602552 #define LN2 0.6931471805599453094172321214581765680755001343602552

View file

@ -7,6 +7,8 @@
#include "tinyformat.h" #include "tinyformat.h"
#include <boost/foreach.hpp>
std::string COutPoint::ToString() const std::string COutPoint::ToString() const
{ {
return strprintf("COutPoint(%s, %u)", hash.ToString().substr(0,10), n); return strprintf("COutPoint(%s, %u)", hash.ToString().substr(0,10), n);

View file

@ -11,6 +11,8 @@
#include "utilmoneystr.h" #include "utilmoneystr.h"
#include "base58.h" #include "base58.h"
#include <boost/foreach.hpp>
using namespace std; using namespace std;
string EncodeHexTx(const CTransaction& tx) string EncodeHexTx(const CTransaction& tx)

View file

@ -8,6 +8,8 @@
#include "guiutil.h" #include "guiutil.h"
#include "optionsmodel.h" #include "optionsmodel.h"
#include <boost/foreach.hpp>
RecentRequestsTableModel::RecentRequestsTableModel(CWallet *wallet, WalletModel *parent) : RecentRequestsTableModel::RecentRequestsTableModel(CWallet *wallet, WalletModel *parent) :
walletModel(parent) walletModel(parent)
{ {

View file

@ -22,6 +22,8 @@
#include <boost/tuple/tuple_comparison.hpp> #include <boost/tuple/tuple_comparison.hpp>
#include <boost/tuple/tuple.hpp> #include <boost/tuple/tuple.hpp>
#include <boost/foreach.hpp>
using namespace std; using namespace std;
using namespace boost; using namespace boost;

View file

@ -15,7 +15,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <boost/foreach.hpp>
#include <boost/variant.hpp> #include <boost/variant.hpp>
class CKeyStore; class CKeyStore;