From 3267adcd14ba10e27a4b177e771fca9c9ab39646 Mon Sep 17 00:00:00 2001 From: Chase McDermott Date: Sat, 14 Jul 2018 16:42:01 -0500 Subject: Added default data locations to docs and other external tests. --- test/compilationTests/zeppelin/ownership/Contactable.sol | 2 +- test/compilationTests/zeppelin/ownership/Shareable.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/compilationTests/zeppelin/ownership') diff --git a/test/compilationTests/zeppelin/ownership/Contactable.sol b/test/compilationTests/zeppelin/ownership/Contactable.sol index 11b0e1dd..5f781e13 100644 --- a/test/compilationTests/zeppelin/ownership/Contactable.sol +++ b/test/compilationTests/zeppelin/ownership/Contactable.sol @@ -15,7 +15,7 @@ contract Contactable is Ownable{ * @dev Allows the owner to set a string with their contact information. * @param info The contact information to attach to the contract. */ - function setContactInformation(string info) public onlyOwner{ + function setContactInformation(string memory info) public onlyOwner{ contactInformation = info; } } diff --git a/test/compilationTests/zeppelin/ownership/Shareable.sol b/test/compilationTests/zeppelin/ownership/Shareable.sol index d44f63b8..4a6b32f0 100644 --- a/test/compilationTests/zeppelin/ownership/Shareable.sol +++ b/test/compilationTests/zeppelin/ownership/Shareable.sol @@ -59,7 +59,7 @@ contract Shareable { * @param _owners A list of owners. * @param _required The amount required for a transaction to be approved. */ - constructor(address[] _owners, uint256 _required) public { + constructor(address[] memory _owners, uint256 _required) public { owners[1] = msg.sender; ownerIndex[msg.sender] = 1; for (uint256 i = 0; i < _owners.length; ++i) { -- cgit v1.2.3