cmExportSet: default destructor

This commit is contained in:
Tushar Maheshwari
2019-09-08 14:44:55 +05:30
parent 9b8a1f7c28
commit 6511fa6f33
7 changed files with 34 additions and 31 deletions

View File

@@ -35,7 +35,8 @@ void cmExportInstallAndroidMKGenerator::GenerateImportHeaderCode(
}
os << "_IMPORT_PREFIX := "
<< "$(LOCAL_PATH)" << path << "\n\n";
for (cmTargetExport* te : *this->IEGen->GetExportSet()->GetTargetExports()) {
for (std::unique_ptr<cmTargetExport> const& te :
this->IEGen->GetExportSet()->GetTargetExports()) {
// Collect import properties for this target.
if (te->Target->GetType() == cmStateEnums::INTERFACE_LIBRARY) {
continue;