aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts/Wallet.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-16 20:41:24 +0800
committerGitHub <noreply@github.com>2018-07-16 20:41:24 +0800
commit58667db8b891a535dfc139144271c1bd8a1e067a (patch)
treeaefd334e35456e79439c85bd1fe98f99a1ecf9a4 /test/contracts/Wallet.cpp
parentc5ff173431741a4b12cac73c10e2132e3e4bb9d5 (diff)
parentf48d01d0660747b0071e9d82a0261ce15bcc4c35 (diff)
downloaddexon-solidity-58667db8b891a535dfc139144271c1bd8a1e067a.tar
dexon-solidity-58667db8b891a535dfc139144271c1bd8a1e067a.tar.gz
dexon-solidity-58667db8b891a535dfc139144271c1bd8a1e067a.tar.bz2
dexon-solidity-58667db8b891a535dfc139144271c1bd8a1e067a.tar.lz
dexon-solidity-58667db8b891a535dfc139144271c1bd8a1e067a.tar.xz
dexon-solidity-58667db8b891a535dfc139144271c1bd8a1e067a.tar.zst
dexon-solidity-58667db8b891a535dfc139144271c1bd8a1e067a.zip
Merge pull request #4489 from chase1745/use-explicit-data-locations-end-to-end-tests
Added default data locations to parameters for end to end tests.
Diffstat (limited to 'test/contracts/Wallet.cpp')
-rw-r--r--test/contracts/Wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp
index 45fe5bbd..08470d8e 100644
--- a/test/contracts/Wallet.cpp
+++ b/test/contracts/Wallet.cpp
@@ -101,7 +101,7 @@ contract multiowned {
// constructor is given number of sigs required to do protected "onlymanyowners" transactions
// as well as the selection of addresses capable of confirming them.
- constructor(address[] _owners, uint _required) {
+ constructor(address[] memory _owners, uint _required) {
m_numOwners = _owners.length + 1;
m_owners[1] = uint(msg.sender);
m_ownerIndex[uint(msg.sender)] = 1;
@@ -369,7 +369,7 @@ contract Wallet is multisig, multiowned, daylimit {
// constructor - just pass on the owner array to the multiowned and
// the limit to daylimit
- constructor(address[] _owners, uint _required, uint _daylimit) payable
+ constructor(address[] memory _owners, uint _required, uint _daylimit) payable
multiowned(_owners, _required) daylimit(_daylimit) {
}