Permalink
Browse files

Remove unneeded ConfigGetter<T> delegate

  • Loading branch information...
1 parent 6662ea5 commit f0d7a618aa4a511a5fc2fbb80462d00e2f0f7c7b @dahlbyk dahlbyk committed with nulltoken Aug 31, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 LibGit2Sharp/Configuration.cs
View
4 LibGit2Sharp/Configuration.cs
@@ -372,9 +372,7 @@ private ConfigurationSafeHandle RetrieveConfigurationHandle(ConfigurationLevel l
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) =>
{

0 comments on commit f0d7a61

Please sign in to comment.