diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-05 16:25:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 16:25:20 +0200 |
commit | 6bc18042c2a809a27638f410db577ff95826c49b (patch) | |
tree | c67ee0c7a9ca3f52a47e7a51e3c0538ee8bbccd9 /modules/mono/glue/Managed/Files/GD.cs | |
parent | aa85b7ed62b09f4663fe4c88fdecd82db59a9d0f (diff) | |
parent | 4a1186496896f71b48a791cc11a9e8c6db5cb416 (diff) |
Merge pull request #22760 from zochris/loosen-generic-guard
Loosen generic guard on some methods
Diffstat (limited to 'modules/mono/glue/Managed/Files/GD.cs')
-rw-r--r-- | modules/mono/glue/Managed/Files/GD.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/Managed/Files/GD.cs b/modules/mono/glue/Managed/Files/GD.cs index 264be23588..3a2a527704 100644 --- a/modules/mono/glue/Managed/Files/GD.cs +++ b/modules/mono/glue/Managed/Files/GD.cs @@ -65,7 +65,7 @@ namespace Godot return ResourceLoader.Load(path); } - public static T Load<T>(string path) where T : Godot.Resource + public static T Load<T>(string path) where T : class { return (T) ResourceLoader.Load(path); } |