Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Dahlby <dahlbyk@gmail.com>2012-08-31 17:13:36 +0400
committernulltoken <emeric.fermas@gmail.com>2012-09-03 21:56:05 +0400
commitf0d7a618aa4a511a5fc2fbb80462d00e2f0f7c7b (patch)
treedb66ceefcfd63539c9589ee3a3806c5e9c23372e /LibGit2Sharp/Configuration.cs
parent6662ea5d60515fac431e6699d4cac9a8957527b8 (diff)
Remove unneeded ConfigGetter<T> delegate
Diffstat (limited to 'LibGit2Sharp/Configuration.cs')
-rw-r--r--LibGit2Sharp/Configuration.cs4
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) =>
{