diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-02-17 12:41:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-17 12:41:05 +0100 |
| commit | d0c72a92ef530962e19a560001f4032893681127 (patch) | |
| tree | 3810eea20d5acbb373c34874cf115cb01998f1d6 /src/cache.h | |
| parent | 021f4943a9482355c47122da4911c5272cefdb8d (diff) | |
| parent | 8f1ff26bd3c46d7f4f20b6776fd2edac647f3335 (diff) | |
| download | libgit2-d0c72a92ef530962e19a560001f4032893681127.tar.gz | |
Merge pull request #4092 from pks-t/pks/khash-cleanups
khash cleanups
Diffstat (limited to 'src/cache.h')
| -rw-r--r-- | src/cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.h b/src/cache.h index 697123739..0f0bfcf5d 100644 --- a/src/cache.h +++ b/src/cache.h @@ -53,7 +53,7 @@ void *git_cache_get_any(git_cache *cache, const git_oid *oid); GIT_INLINE(size_t) git_cache_size(git_cache *cache) { - return (size_t)kh_size(cache->map); + return (size_t)git_oidmap_size(cache->map); } GIT_INLINE(void) git_cached_obj_incref(void *_obj) |
