From 8fec289ad8a2c42350c24d5c97b0f104fbbea176 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Tue, 8 Sep 2015 13:58:55 +0200 Subject: remove incorrect optimization branches These assumptions were once true, but they aren't anymore, so what is supposed to be a speed up is effectively a slowdown [not that it would be noticible]. Usage of SingleArchFindPkg was nuked in a stable update already as the included assumption was actually harmful btw, which is why we should get right of other 'non-harmful' but still untrue assumptions while we can. Git-Dch: Ignore --- apt-pkg/pkgcache.h | 1 - 1 file changed, 1 deletion(-) (limited to 'apt-pkg/pkgcache.h') diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index 801f8556d..6f3efd744 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -259,7 +259,6 @@ class pkgCache /*{{{*/ private: void * const d; bool MultiArchEnabled; - APT_HIDDEN PkgIterator SingleArchFindPkg(const std::string &Name); }; /*}}}*/ // Header structure /*{{{*/ -- cgit v1.2.3