Skip to content

Commit

Permalink
Fixed Date GetHashCode , compute hash on readonly field.
Browse files Browse the repository at this point in the history
  • Loading branch information
amaggiulli committed Oct 29, 2019
1 parent 66170a2 commit 1a0a999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QLNet/Time/Date.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace QLNet
{
public class Date : IComparable
{
private DateTime date;
private readonly DateTime date;

//! Default constructor returning a null date.
public Date()
Expand Down

0 comments on commit 1a0a999

Please sign in to comment.