summaryrefslogtreecommitdiff
path: root/Source/cmExportInstallAndroidMKGenerator.cxx
diff options
context:
space:
mode:
authorTushar Maheshwari <tushar27192@gmail.com>2019-09-08 14:44:55 +0530
committerTushar Maheshwari <tushar27192@gmail.com>2019-09-19 19:20:29 +0530
commit6511fa6f3309984fc10de8471017c2bb32d8d286 (patch)
treefb4b068962d37cc9763fd779f45662edc7fd1179 /Source/cmExportInstallAndroidMKGenerator.cxx
parent9b8a1f7c28deac892493b0a5548b08b2003238ea (diff)
downloadcmake-6511fa6f3309984fc10de8471017c2bb32d8d286.tar.gz
cmExportSet: default destructor
Diffstat (limited to 'Source/cmExportInstallAndroidMKGenerator.cxx')
-rw-r--r--Source/cmExportInstallAndroidMKGenerator.cxx3
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;