Skip to content

Commit f5af338

Browse files
committed
bug fixed
1 parent afe8cd3 commit f5af338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/CatLib.API/Config/Internal/ConfigExtend.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static class ConfigExtend
4242
/// <param name="type">配置的类型</param>
4343
/// <param name="def">默认值</param>
4444
/// <returns></returns>
45-
public static object SafeGet(this IConfig config, string name, Type type, object def = null)
45+
public static object SafeGet(this IConfig config, string name, Type type, object def)
4646
{
4747
return config == null ? def : config.Get(name, type, def);
4848
}

0 commit comments

Comments
 (0)