aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/ownership
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-16 20:04:18 +0800
committerGitHub <noreply@github.com>2018-07-16 20:04:18 +0800
commitc5ff173431741a4b12cac73c10e2132e3e4bb9d5 (patch)
treef200bf5d35d5ec3467817dcea2d91918e991fe55 /test/compilationTests/zeppelin/ownership
parent1a1cff189bcc9dc9dbd38ab40d6ee445b6128fd3 (diff)
parent3267adcd14ba10e27a4b177e771fca9c9ab39646 (diff)
downloaddexon-solidity-c5ff173431741a4b12cac73c10e2132e3e4bb9d5.tar
dexon-solidity-c5ff173431741a4b12cac73c10e2132e3e4bb9d5.tar.gz
dexon-solidity-c5ff173431741a4b12cac73c10e2132e3e4bb9d5.tar.bz2
dexon-solidity-c5ff173431741a4b12cac73c10e2132e3e4bb9d5.tar.lz
dexon-solidity-c5ff173431741a4b12cac73c10e2132e3e4bb9d5.tar.xz
dexon-solidity-c5ff173431741a4b12cac73c10e2132e3e4bb9d5.tar.zst
dexon-solidity-c5ff173431741a4b12cac73c10e2132e3e4bb9d5.zip
Merge pull request #4512 from chase1745/use-explicit-data-locations-external-tests
Added default data locations to docs and other external tests.
Diffstat (limited to 'test/compilationTests/zeppelin/ownership')
-rw-r--r--test/compilationTests/zeppelin/ownership/Contactable.sol2
-rw-r--r--test/compilationTests/zeppelin/ownership/Shareable.sol2
2 files changed, 2 insertions, 2 deletions
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) {