Skip to content

Commit 9e5e4a6

Browse files
committed
Make field mutable (being assigned in constructor)
1 parent 55ff7bb commit 9e5e4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/painlessjson/unittesttypes.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ struct PointSerializationIgnore
255255
struct PointUseConstructor
256256
{
257257
@disable this();
258-
immutable double x = 0; ///
258+
double x = 0; ///
259259
private double _y = 1; ///
260260
this(double x, double y)
261261
{

0 commit comments

Comments
 (0)