diff options
author | Tushar Maheshwari <tushar27192@gmail.com> | 2019-09-08 14:44:55 +0530 |
---|---|---|
committer | Tushar Maheshwari <tushar27192@gmail.com> | 2019-09-19 19:20:29 +0530 |
commit | 6511fa6f3309984fc10de8471017c2bb32d8d286 (patch) | |
tree | fb4b068962d37cc9763fd779f45662edc7fd1179 /Source/cmExportInstallAndroidMKGenerator.cxx | |
parent | 9b8a1f7c28deac892493b0a5548b08b2003238ea (diff) | |
download | cmake-6511fa6f3309984fc10de8471017c2bb32d8d286.tar.gz |
cmExportSet: default destructor
Diffstat (limited to 'Source/cmExportInstallAndroidMKGenerator.cxx')
-rw-r--r-- | Source/cmExportInstallAndroidMKGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmExportInstallAndroidMKGenerator.cxx b/Source/cmExportInstallAndroidMKGenerator.cxx index 207ea41c35..8f7e2ddd7d 100644 --- a/Source/cmExportInstallAndroidMKGenerator.cxx +++ b/Source/cmExportInstallAndroidMKGenerator.cxx @@ -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; |