summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-17 18:33:22 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-17 18:33:22 +0200
commit3dddcdf2432e78f37c74d8c76c2c519a8d935ab2 (patch)
treeb2591bf117bbe44bfef18e3f4c0c8e9663303e24 /apt-private
parent9f5f0e60f1d3c997c8c2e794dee122829bdf142d (diff)
Re-add support for G++ 4.8 and configure travis to use it
This makes tests work again! Gbp-Dch: ignore
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-cachefile.cc2
-rw-r--r--apt-private/private-cacheset.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-cachefile.cc b/apt-private/private-cachefile.cc
index 2b2050684..32cad1c33 100644
--- a/apt-private/private-cachefile.cc
+++ b/apt-private/private-cachefile.cc
@@ -33,7 +33,7 @@ static bool SortPackagesByName(pkgCache * const Owner,
return strcmp(Owner->StrP + GA->Name, Owner->StrP + GB->Name) <= 0;
}
SortedPackageUniverse::SortedPackageUniverse(CacheFile &Cache) :
- PackageUniverse{Cache}, List{Cache.UniverseList}
+ PackageUniverse{Cache}, List(Cache.UniverseList)
{
}
void SortedPackageUniverse::LazyInit() const
diff --git a/apt-private/private-cacheset.cc b/apt-private/private-cacheset.cc
index 36d40117c..8db736507 100644
--- a/apt-private/private-cacheset.cc
+++ b/apt-private/private-cacheset.cc
@@ -118,7 +118,7 @@ CacheSetHelperVirtuals::CacheSetHelperVirtuals(bool const ShowErrors, GlobalErro
// CacheSetHelperAPTGet - responsible for message telling from the CacheSets/*{{{*/
CacheSetHelperAPTGet::CacheSetHelperAPTGet(std::ostream &out) :
- APT::CacheSetHelper{true}, out{out}
+ APT::CacheSetHelper{true}, out(out)
{
explicitlyNamed = true;
}