Merge pull request #1011 from stikonas/master
[partition] fix build with latest kpmcore.
This commit is contained in:
commit
81ea5f5249
@ -665,7 +665,11 @@ PartitionCoreModule::scanForLVMPVs()
|
||||
// Update LVM::pvList
|
||||
LvmDevice::scanSystemLVM( physicalDevices );
|
||||
|
||||
#ifdef WITH_KPMCOREGT33
|
||||
for ( auto p : LVM::pvList::list() )
|
||||
#else
|
||||
for ( auto p : LVM::pvList )
|
||||
#endif
|
||||
{
|
||||
m_lvmPVs << p.partition().data();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user