diff options
author | Keith Dahlby <dahlbyk@gmail.com> | 2012-08-31 17:13:36 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-09-03 21:56:05 +0400 |
commit | f0d7a618aa4a511a5fc2fbb80462d00e2f0f7c7b (patch) | |
tree | db66ceefcfd63539c9589ee3a3806c5e9c23372e /LibGit2Sharp/Configuration.cs | |
parent | 6662ea5d60515fac431e6699d4cac9a8957527b8 (diff) |
Remove unneeded ConfigGetter<T> delegate
Diffstat (limited to 'LibGit2Sharp/Configuration.cs')
-rw-r--r-- | LibGit2Sharp/Configuration.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/LibGit2Sharp/Configuration.cs b/LibGit2Sharp/Configuration.cs index e6dce480..458a9787 100644 --- a/LibGit2Sharp/Configuration.cs +++ b/LibGit2Sharp/Configuration.cs @@ -372,9 +372,7 @@ namespace LibGit2Sharp return h; } - private delegate T ConfigGetter<T>(ConfigurationSafeHandle handle, string name); - - private static Func<string, object, ConfigurationSafeHandle, object> GetRetriever<T>(ConfigGetter<T> getter) + private static Func<string, object, ConfigurationSafeHandle, object> GetRetriever<T>(Func<ConfigurationSafeHandle, string, T> getter) { return (key, defaultValue, handle) => { |