Skip to content

Commit

Permalink
Fixed type inference issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jagregory committed Sep 22, 2010
1 parent dd3676a commit 05799fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FluentNHibernate/Automapping/AutoPersistenceModel.cs
Expand Up @@ -121,7 +121,7 @@ private void CompileMappings()

var types = sources
.SelectMany(x => x.GetTypes())
.OrderBy(InheritanceHierarchyDepth);
.OrderBy(x => InheritanceHierarchyDepth(x));

foreach (var type in types)
{
Expand Down

0 comments on commit 05799fb

Please sign in to comment.