Skip to content

Commit aaeed41

Browse files
author
Fraser Greenroyd
committed
Change casting following review with @peterjamesnugent
1 parent 4e65694 commit aaeed41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Settings_Engine/Query/GetSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static object GetSettings(Type type)
4848

4949
try
5050
{
51-
obj = activator as ISettings;
51+
obj = (ISettings)activator;
5252
}
5353
catch(Exception ex)
5454
{

0 commit comments

Comments
 (0)