Skip to content

Commit

Permalink
Explicit overrides for RWR (#305)
Browse files Browse the repository at this point in the history
Explicit overrides

Co-authored-by: PlayJok3r <[email protected]>
  • Loading branch information
mliu and PlayJok3r authored May 11, 2023
1 parent 4156aec commit 026cbf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/receivables/RealWorldReceivable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ contract RealWorldReceivable is
uint256 tokenId,
uint256 batchSize
) internal override(ERC721Upgradeable, ERC721EnumerableUpgradeable) {
super._beforeTokenTransfer(from, to, tokenId, batchSize);
ERC721EnumerableUpgradeable._beforeTokenTransfer(from, to, tokenId, batchSize);
}

function _burn(uint256 tokenId)
internal
override(ERC721Upgradeable, ERC721URIStorageUpgradeable)
{
super._burn(tokenId);
ERC721URIStorageUpgradeable._burn(tokenId);
}

function tokenURI(uint256 tokenId)
Expand All @@ -192,7 +192,7 @@ contract RealWorldReceivable is
override(ERC721Upgradeable, ERC721URIStorageUpgradeable)
returns (string memory)
{
return super.tokenURI(tokenId);
return ERC721URIStorageUpgradeable.tokenURI(tokenId);
}

function supportsInterface(bytes4 interfaceId)
Expand Down

0 comments on commit 026cbf0

Please sign in to comment.