Files
solidity/docs
Chim Kan b5d2a4ecd7 Adding storage into the pointer for Voter delegate
Hi,

The example from https://github.com/ethereum/solidity/blob/develop/docs/solidity-by-example.rst is not working. 

It keeps giving this error in the Mist program:

     Could not compile source code. 

     Variable is declared as a storage pointer. Use an explicit "storage" keyword to silence this warning.
            Voter delegate = voters[to];
            ^------------^

The solution is just to add the keyword "storage" and then the example works again.
2017-08-23 20:25:12 -04:00
..
2017-08-22 18:25:46 +01:00
2017-08-08 15:56:52 +02:00
2017-08-01 20:51:45 +01:00
2017-04-18 12:20:39 +02:00
2017-08-22 18:25:46 +01:00
2017-07-04 23:46:07 -05:00
2017-08-22 18:24:22 +01:00
2015-12-07 22:35:51 +01:00
2015-12-07 22:35:51 +01:00
2017-08-22 18:25:46 +01:00
2017-01-03 14:13:49 +01:00