diff options
author | Keith Dahlby <dahlbyk@gmail.com> | 2012-10-20 22:08:54 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-10-24 22:03:38 +0400 |
commit | 862f0e946c7d7efa33db688d90b07bb2682009cf (patch) | |
tree | 0d63a55e155c876e2e4d8b8f359fe8f09daf7e1e /LibGit2Sharp/ReferenceWrapper.cs | |
parent | 7e815c6dd19b2cedec59c498eadea70502fce437 (diff) |
Use params for LambdaEqualityHelper
Diffstat (limited to 'LibGit2Sharp/ReferenceWrapper.cs')
-rw-r--r-- | LibGit2Sharp/ReferenceWrapper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/ReferenceWrapper.cs b/LibGit2Sharp/ReferenceWrapper.cs index 49696747..33f63561 100644 --- a/LibGit2Sharp/ReferenceWrapper.cs +++ b/LibGit2Sharp/ReferenceWrapper.cs @@ -17,7 +17,7 @@ namespace LibGit2Sharp private readonly Lazy<TObject> objectBuilder; private static readonly LambdaEqualityHelper<ReferenceWrapper<TObject>> equalityHelper = - new LambdaEqualityHelper<ReferenceWrapper<TObject>>(new Func<ReferenceWrapper<TObject>, object>[] { x => x.CanonicalName, x => x.TargetObject }); + new LambdaEqualityHelper<ReferenceWrapper<TObject>>(x => x.CanonicalName, x => x.TargetObject); private readonly string canonicalName; |