On 2012-04-09 16:52, Timon Gehr wrote:
On 04/09/2012 04:49 PM, Jacob Carlborg wrote:

But now when I compile this code I get this error:

Error: cannot implicitly convert expression (this.data) of type
const(void*) to void*

Any idea how to solve this? Or would I need to drop const.

--
/Jacob Carlborg

Either clone the data too or use inout.

Where would I use inout, on "clone"?

--
/Jacob Carlborg

Reply via email to