]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire.h
CMake: test/libapt: Use a prebuilt GTest library if available
[apt.git] / apt-pkg / acquire.h
index f4019d556000a5d60410b16d8a313a10a1b46397..7044797b364877cddfe4d067fe0ac154d600e5c7 100644 (file)
@@ -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; }