Codegen update

This commit is contained in:
Oleksandr
2026-06-03 19:48:09 -04:00
parent d70eca3d7d
commit 942a950e93

View File

@@ -33,7 +33,7 @@ public:
* @brief Construct a Sponsorship ledger entry wrapper from an existing SLE object.
* @throws std::runtime_error if the ledger entry type doesn't match.
*/
explicit Sponsorship(std::shared_ptr<SLE const> sle)
explicit Sponsorship(SLE::const_pointer sle)
: LedgerEntryBase(std::move(sle))
{
// Verify ledger entry type
@@ -219,7 +219,7 @@ public:
* @param sle The existing ledger entry to copy from.
* @throws std::runtime_error if the ledger entry type doesn't match.
*/
SponsorshipBuilder(std::shared_ptr<SLE const> sle)
SponsorshipBuilder(SLE::const_pointer sle)
{
if (sle->at(sfLedgerEntryType) != ltSPONSORSHIP)
{