diff --git a/src/modules/partition/core/PartitionCoreModule.cpp b/src/modules/partition/core/PartitionCoreModule.cpp index f838ab2aa..f6eba9288 100644 --- a/src/modules/partition/core/PartitionCoreModule.cpp +++ b/src/modules/partition/core/PartitionCoreModule.cpp @@ -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();