From 5dd00edbcf702cac1ea22392796c65881a8ef6f9 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 27 Nov 2015 15:40:47 +0100 Subject: add messages to our deprecation warnings in libapt Git-Dch: Ignore --- apt-pkg/acquire.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-pkg/acquire.h') diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h index f4019d556..7044797b3 100644 --- a/apt-pkg/acquire.h +++ b/apt-pkg/acquire.h @@ -364,7 +364,7 @@ class pkgAcquire * if no lock file should be used. If set also all needed directories * will be created. */ - APT_DEPRECATED bool Setup(pkgAcquireStatus *Progress = NULL, std::string const &Lock = ""); + APT_DEPRECATED_MSG("Use constructors, .SetLog and .GetLock as needed") bool Setup(pkgAcquireStatus *Progress = NULL, std::string const &Lock = ""); void SetLog(pkgAcquireStatus *Progress) { Log = Progress; } -- cgit v1.2.3