Browse Source

fix warnings: 'XX' defined as a struct here but previously declared as a class [-Wmismatched-tags]

0.8
Wladimir J. van der Laan 13 years ago
parent
commit
87207a2e08
  1. 3
      src/qt/addresstablemodel.cpp
  2. 3
      src/qt/transactiontablemodel.cpp

3
src/qt/addresstablemodel.cpp

@ -27,8 +27,9 @@ struct AddressTableEntry
}; };
// Private implementation // Private implementation
struct AddressTablePriv class AddressTablePriv
{ {
public:
CWallet *wallet; CWallet *wallet;
QList<AddressTableEntry> cachedAddressTable; QList<AddressTableEntry> cachedAddressTable;

3
src/qt/transactiontablemodel.cpp

@ -45,8 +45,9 @@ struct TxLessThan
}; };
// Private implementation // Private implementation
struct TransactionTablePriv class TransactionTablePriv
{ {
public:
TransactionTablePriv(CWallet *wallet, TransactionTableModel *parent): TransactionTablePriv(CWallet *wallet, TransactionTableModel *parent):
wallet(wallet), wallet(wallet),
parent(parent) parent(parent)

Loading…
Cancel
Save