From 7302297304b2db3c04be6ba48f5701afd23537b7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 23 Aug 2020 19:27:07 +0100 Subject: Remove unused helper --- src/git.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/git.h') diff --git a/src/git.h b/src/git.h index 96a79bd..38a89d3 100644 --- a/src/git.h +++ b/src/git.h @@ -28,15 +28,6 @@ namespace GitFS::Git { return TPtr(r, release); } - template - auto - gitSafeGet(int (*get)(R **, P...), A... p) - { - R * r = nullptr; - gitSafe(get, &r, p...); - return r; - } - git_oid OidParse(const std::string_view & str); using RepositoryPtr = decltype(gitSafeGet(git_repository_open_bare, git_repository_free, nullptr)); -- cgit v1.2.3