Skip to content

Commit

Permalink
Marks setApprovalForAll as virtual (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirienzoEth authored Mar 8, 2022
1 parent 95b49e7 commit 317eaf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/ERC721A.sol
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public override {
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSender()) revert ApproveToCaller();

_operatorApprovals[_msgSender()][operator] = approved;
Expand Down

0 comments on commit 317eaf5

Please sign in to comment.