From 317eaf59f6ff789d0f17cb791df09436f71936f5 Mon Sep 17 00:00:00 2001 From: Kirienzo <72258256+KirienzoEth@users.noreply.github.com> Date: Tue, 8 Mar 2022 13:14:58 +0900 Subject: [PATCH] Marks setApprovalForAll as virtual (#149) --- contracts/ERC721A.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/ERC721A.sol b/contracts/ERC721A.sol index af376b338..a833adc1f 100644 --- a/contracts/ERC721A.sol +++ b/contracts/ERC721A.sol @@ -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;