Skip to content

Commit 05799fb

Browse files
committed
Fixed type inference issue
1 parent dd3676a commit 05799fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FluentNHibernate/Automapping/AutoPersistenceModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private void CompileMappings()
121121

122122
var types = sources
123123
.SelectMany(x => x.GetTypes())
124-
.OrderBy(InheritanceHierarchyDepth);
124+
.OrderBy(x => InheritanceHierarchyDepth(x));
125125

126126
foreach (var type in types)
127127
{

0 commit comments

Comments
 (0)