Title : Warning missing override identifier can make compiler eror
This means if you inherit the ERC1155Enumerable.sol contract into Cnft.sol, you can write your own function and mark it as override since it’s overriding the base totalsupply() & tokensByAccounts() function. If you forget to add the override the compiler will said
TypeError: Overriding function is missing "override" specifier.
and this could be into error to compile the contract
Low
override
identifier can make compiler erorThis means if you inherit the ERC1155Enumerable.sol contract into Cnft.sol, you can write your own function and mark it as override since it’s overriding the base totalsupply() & tokensByAccounts() function. If you forget to add the override the compiler will said
and this could be into error to compile the contract
Tool Used
Remix, Manual Review
Recommended Mitigation
add
override