Skip to content

Commit

Permalink
Merge pull request #4267 from mrkline/fix-HTTP-StatusLine-toString-const
Browse files Browse the repository at this point in the history
toString() on HTTP.StatusLine should be const
  • Loading branch information
burner committed Apr 29, 2016
2 parents 6f6f61c + 5667d57 commit f1d9574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/net/curl.d
Original file line number Diff line number Diff line change
Expand Up @@ -3112,7 +3112,7 @@ struct HTTP
}

///
string toString()
string toString() const
{
return format("%s %s (%s.%s)",
code, reason, majorVersion, minorVersion);
Expand Down

0 comments on commit f1d9574

Please sign in to comment.