summaryrefslogtreecommitdiff
path: root/Source/cmExportSetMap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExportSetMap.cxx')
-rw-r--r--Source/cmExportSetMap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmExportSetMap.cxx b/Source/cmExportSetMap.cxx
index d267cd364b..ac1c66edb0 100644
--- a/Source/cmExportSetMap.cxx
+++ b/Source/cmExportSetMap.cxx
@@ -15,13 +15,13 @@
#include "cmAlgorithms.h"
#include "cmExportSet.h"
-cmExportSet* cmExportSetMap::operator[](const std::string &name)
+cmExportSet* cmExportSetMap::operator[](const std::string& name)
{
std::map<std::string, cmExportSet*>::iterator it = this->find(name);
if (it == this->end()) // Export set not found
- {
+ {
it = this->insert(std::make_pair(name, new cmExportSet(name))).first;
- }
+ }
return it->second;
}