From 378516380c55601bf11becbcc7a3e7c8a887c2cf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 4 Feb 2019 03:14:31 +0000 Subject: Swap out deprecated giterr_last for git_error_last --- gentoobrowse-api/service/utils/git.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoobrowse-api/service/utils/git.cpp b/gentoobrowse-api/service/utils/git.cpp index 6e2e04e..fa0e191 100644 --- a/gentoobrowse-api/service/utils/git.cpp +++ b/gentoobrowse-api/service/utils/git.cpp @@ -9,7 +9,7 @@ namespace Gentoo { void throwError(void * const func, int err) { - const git_error * e = giterr_last(); + const git_error * e = git_error_last(); char ** fn = backtrace_symbols(&func, 1); assert(fn); assert(*fn); -- cgit v1.2.3