aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/ownership
diff options
context:
space:
mode:
Diffstat (limited to 'test/compilationTests/zeppelin/ownership')
-rw-r--r--test/compilationTests/zeppelin/ownership/HasNoEther.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/zeppelin/ownership/HasNoEther.sol b/test/compilationTests/zeppelin/ownership/HasNoEther.sol
index ffd1d76f..9f294679 100644
--- a/test/compilationTests/zeppelin/ownership/HasNoEther.sol
+++ b/test/compilationTests/zeppelin/ownership/HasNoEther.sol
@@ -37,7 +37,7 @@ contract HasNoEther is Ownable {
* @dev Transfer all Ether held by the contract to the owner.
*/
function reclaimEther() external onlyOwner {
- if(!owner.send(this.balance)) {
+ if(!owner.send(address(this).balance)) {
throw;
}
}