From 88dc1ca6fcc4b47545b189fe1cc4f282fc46f4ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Venturo?= Date: Fri, 24 Jan 2020 14:56:17 -0300 Subject: [PATCH] Reorder functions to prevent shadowing warning --- contracts/token/ERC721/ERC721Metadata.sol | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/contracts/token/ERC721/ERC721Metadata.sol b/contracts/token/ERC721/ERC721Metadata.sol index ca0ce4bf0..c83b5e16f 100644 --- a/contracts/token/ERC721/ERC721Metadata.sol +++ b/contracts/token/ERC721/ERC721Metadata.sol @@ -76,17 +76,6 @@ contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata { } } - /** - * @dev Returns the base URI set via {_setBaseURI}. This will be - * automatically added as a preffix in {tokenURI} to each token's URI, when - * they are non-empty. - * - * _Available since v2.5.0._ - */ - function baseURI() external view returns (string memory) { - return _baseURI; - } - /** * @dev Internal function to set the token URI for a given token. * @@ -111,6 +100,17 @@ contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata { _baseURI = baseURI; } + /** + * @dev Returns the base URI set via {_setBaseURI}. This will be + * automatically added as a preffix in {tokenURI} to each token's URI, when + * they are non-empty. + * + * _Available since v2.5.0._ + */ + function baseURI() external view returns (string memory) { + return _baseURI; + } + /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist.