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:
authornulltoken <emeric.fermas@gmail.com>2012-03-06 17:52:53 +0400
committernulltoken <emeric.fermas@gmail.com>2012-03-06 17:55:54 +0400
commitd4307c3a2c72c55a9d606be739f8849730d32f47 (patch)
treeb24db2918f55bce1871c01649516e60767151553 /LibGit2Sharp/Signature.cs
parentf0178a0665d8d5885877409175891ffcf391a399 (diff)
Reduce the number of in-memory Utf8Marshaler instances
Diffstat (limited to 'LibGit2Sharp/Signature.cs')
-rw-r--r--LibGit2Sharp/Signature.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/Signature.cs b/LibGit2Sharp/Signature.cs
index 342c6ee4..e3812e78 100644
--- a/LibGit2Sharp/Signature.cs
+++ b/LibGit2Sharp/Signature.cs
@@ -13,7 +13,7 @@ namespace LibGit2Sharp
private readonly string name;
private readonly string email;
- private static readonly Utf8Marshaler marshaler = new Utf8Marshaler();
+ private static readonly Utf8Marshaler marshaler = (Utf8Marshaler)Utf8Marshaler.GetInstance(string.Empty);
internal Signature(IntPtr signaturePtr)
{