When I try to compile my smart contract using truffle, it comes up with this error: Error parsing @openzeppelin/contracts/token/ERC721/ERC721.sol: ParsedContract.sol:51:72: ParserError: Expected '{' but got reserved keyword 'override'.
My Smart Contract:
pragma solidity 0.5.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
contract Color is ERC721 {}
Does anyone know how to fix this? I know that this is not a new question, but I haven't found a stack overflow or other forum solution that has worked for me. Thanks in advance.