January 16, 2012 std.stream.Stream.read([...]) matches both | ||||
---|---|---|---|---|
| ||||
Hi, I used Stream.read(out float) to read bytes of my stream. It worked for 2.056, but when I try to compile my code using 2.057 I get the following message: ((shared(float))) matches both: std.stream.Stream.read(out float x) and: std.stream.Stream.read(out real x) Because of threading the value must be shared... but how can I solve the double matching of the methods? Thanks in advance! |
Copyright © 1999-2021 by the D Language Foundation