On Sun, 12 Aug 2012 19:57:16 +0200, José Armando García Sancio <[email protected]> wrote:

On Sun, Aug 12, 2012 at 7:31 AM, Simen Kjaeraas <[email protected]> wrote:
On Sun, 12 Aug 2012 09:39:13 +0200, Ivan Trombley <[email protected]>
     auto data = new Data(count);


should be

auto data = cast(shared)new Data(count);

Or
auto data = new shared(Data)(count);

I thought I'd tried that. Maybe it was

auto data = new shared Data(count);

--
Simen

Reply via email to