summaryrefslogtreecommitdiffstats
path: root/Source/cmExportSetMap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExportSetMap.cxx')
-rw-r--r--Source/cmExportSetMap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportSetMap.cxx b/Source/cmExportSetMap.cxx
index 293e80c..5c3f84f 100644
--- a/Source/cmExportSetMap.cxx
+++ b/Source/cmExportSetMap.cxx
@@ -9,7 +9,7 @@
cmExportSet* cmExportSetMap::operator[](const std::string& name)
{
- std::map<std::string, cmExportSet*>::iterator it = this->find(name);
+ auto it = this->find(name);
if (it == this->end()) // Export set not found
{
it = this->insert(std::make_pair(name, new cmExportSet(name))).first;