Skip to content

Commit

Permalink
[Fixup] std.datetime test
Browse files Browse the repository at this point in the history
toString() in wrapper types should consider const-ness.
  • Loading branch information
9rnsr committed Nov 14, 2012
1 parent 3c0d5ad commit b50a11a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions std/datetime.d
Expand Up @@ -33520,7 +33520,7 @@ unittest
this.value = value;
}

string toString()
string toString() const
{
return to!string(value);
}
Expand Down Expand Up @@ -33823,7 +33823,7 @@ unittest
return this;
}

string toString()
string toString() const
{
return to!string(value);
}
Expand All @@ -33847,7 +33847,7 @@ unittest
return IntWrapper_BadAssign(mixin("old " ~ op ~ " rhs.value"));
}

string toString()
string toString() const
{
return to!string(value);
}
Expand All @@ -33869,7 +33869,7 @@ unittest
return IntWrapper_BadReturn(rhs.value);
}

string toString()
string toString() const
{
return to!string(value);
}
Expand Down

0 comments on commit b50a11a

Please sign in to comment.