Fix the following gcc-4.5 buildfailure in pkgcache.cc by following the suggestion:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 2 Jan 2010 16:19:07 +0000 (17:19 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 2 Jan 2010 16:19:07 +0000 (17:19 +0100)
commit749eb4cf0416b1eb7a950bbfce2937f04ab0b6ab
tree8b02732f23413cfa3ed7a9822ddfec47a2de2e17
parent20f463e8f67a6d442444cb6a18ddbe60fc06742d
Fix the following gcc-4.5 buildfailure in pkgcache.cc by following the suggestion:
pkgcache.cc: In member function ‘const char* pkgCache::PkgIterator::CandVersion() const’:
pkgcache.cc:301:51: error: cannot call constructor ‘pkgPolicy::pkgPolicy’ directly
pkgcache.cc:301:51: note: for a function-style cast, remove the redundant ‘::pkgPolicy’
apt-pkg/pkgcache.cc