Fix to compile with GCC 4.9 (again)
This commit is contained in:
parent
2e105e7e62
commit
2d2fbc0d9c
@ -28,4 +28,4 @@ before_script:
|
||||
script:
|
||||
- cmake -DOPENSPADES_RESOURCES=off ..
|
||||
- cat CMakeCache.txt
|
||||
- make
|
||||
- make -k
|
||||
|
@ -29,7 +29,7 @@ namespace spades{
|
||||
new(p) PackageUpdateManager::VersionInfo{};
|
||||
}
|
||||
static void VersionInfoFactory2(const PackageUpdateManager::VersionInfo& other, PackageUpdateManager::VersionInfo *p) {
|
||||
new(p) PackageUpdateManager::VersionInfo{other};
|
||||
new(p) PackageUpdateManager::VersionInfo(other);
|
||||
}
|
||||
static void VersionInfoDestructor(PackageUpdateManager::VersionInfo *p) {
|
||||
p->~VersionInfo();
|
||||
|
Loading…
x
Reference in New Issue
Block a user