Revert "fix: merge develop to sponsor (#7753)" (#7759)

This commit is contained in:
yinyiqian1
2026-07-08 11:15:04 -04:00
committed by GitHub
parent a5cced5d39
commit 6d8e7f45c5
250 changed files with 6855 additions and 6340 deletions

View File

@@ -240,9 +240,6 @@ private:
inline STPathElement::STPathElement() : type_(TypeNone), isOffer_(true)
{
// hashValue_ is derived from the whole object, so it is computed in the body
// once every other member is initialized (as in the other constructors).
// NOLINTNEXTLINE(cppcoreguidelines-prefer-member-initializer)
hashValue_ = getHash(*this);
}
@@ -318,9 +315,6 @@ inline STPathElement::STPathElement(
assetID_.visit(
[&](Currency const&) { type_ = type_ & (~Type::TypeMpt); },
[&](MPTID const&) { type_ = type_ & (~Type::TypeCurrency); });
// hashValue_ must be computed after type_ is adjusted above, so this cannot
// be a member initializer.
// NOLINTNEXTLINE(cppcoreguidelines-prefer-member-initializer)
hashValue_ = getHash(*this);
}