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

@@ -31,7 +31,7 @@ MessageVerificationResult MessageVerify(
return MessageVerificationResult::ERR_INVALID_ADDRESS;
}
if (boost::get<PKHash>(&destination) == nullptr) {
if (std::get_if<PKHash>(&destination) == nullptr) {
return MessageVerificationResult::ERR_ADDRESS_NO_KEY;
}