Replace boost::variant with std::variant

This commit is contained in:
MarcoFalke
2021-01-04 11:20:02 +01:00
parent bc8ada1c15
commit faa8f68943
16 changed files with 56 additions and 66 deletions

View File

@@ -123,7 +123,7 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const interface
continue;
}
if (!boost::get<CNoDestination>(&wtx.txout_address[nOut]))
if (!std::get_if<CNoDestination>(&wtx.txout_address[nOut]))
{
// Sent to Bitcoin Address
sub.type = TransactionRecord::SendToAddress;