Skip to content

Commit

Permalink
Make field mutable (being assigned in constructor)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackEdder committed Apr 14, 2016
1 parent 55ff7bb commit 9e5e4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/painlessjson/unittesttypes.d
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ struct PointSerializationIgnore
struct PointUseConstructor
{
@disable this();
immutable double x = 0; ///
double x = 0; ///
private double _y = 1; ///
this(double x, double y)
{
Expand Down

0 comments on commit 9e5e4a6

Please sign in to comment.