Skip to content

Commit ae4d2b4

Browse files
fixup! Replace IObjectsFactory with IServiceProvider interface
Remove undue warning deactivation
1 parent 4f5cae4 commit ae4d2b4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/NHibernate/Bytecode/ActivatorObjectsFactory.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ namespace NHibernate.Bytecode
44
{
55
// Since v5.2
66
[Obsolete("This type has no more usages and will be removed in a future version")]
7-
public class ActivatorObjectsFactory :
8-
#pragma warning disable 618
9-
IObjectsFactory
10-
#pragma warning restore 618
7+
public class ActivatorObjectsFactory : IObjectsFactory
118
{
129
public object CreateInstance(System.Type type)
1310
{

0 commit comments

Comments
 (0)