File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,11 @@ namespace LibGit2Sharp.Core
5
5
{
6
6
internal class GitObjectLazyGroup : LazyGroup < GitObjectSafeHandle >
7
7
{
8
- private readonly Repository repo ;
9
8
private readonly ObjectId id ;
10
9
11
10
public GitObjectLazyGroup ( Repository repo , ObjectId id )
11
+ : base ( repo )
12
12
{
13
- this . repo = repo ;
14
13
this . id = id ;
15
14
}
16
15
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ internal abstract class LazyGroup<T>
9
9
private readonly IList < IEvaluator < T > > evaluators = new List < IEvaluator < T > > ( ) ;
10
10
private readonly object @lock = new object ( ) ;
11
11
private bool evaluated ;
12
+ protected readonly Repository repo ;
13
+
14
+ protected LazyGroup ( Repository repo )
15
+ {
16
+ this . repo = repo ;
17
+ }
12
18
13
19
public ILazy < TResult > AddLazy < TResult > ( Func < T , TResult > func )
14
20
{
You can’t perform that action at this time.
0 commit comments