summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-08 18:50:09 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 13:36:45 (GMT)
commitbe7807478c463c5c875798a3e2e72e148c0d0c3e (patch)
tree05152d75d6aa1d520c6e6da48732d095037f002d /Source/cmGeneratorExpressionNode.cxx
parente07e2bc8bbf25178270e8086575ff398dd1fa0c6 (diff)
downloadCMake-be7807478c463c5c875798a3e2e72e148c0d0c3e.zip
CMake-be7807478c463c5c875798a3e2e72e148c0d0c3e.tar.gz
CMake-be7807478c463c5c875798a3e2e72e148c0d0c3e.tar.bz2
cmDefinitions: Reduce allocation of keys and values in MakeClosure
Use `cm::String` to store keys and values so that `MakeClosure` does not need to allocate new copies of all of them. Issue: #19581
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r--Source/cmGeneratorExpressionNode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index 9f761ed..78facf8 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -19,11 +19,11 @@
#include "cmState.h"
#include "cmStateSnapshot.h"
#include "cmStateTypes.h"
+#include "cmString.hxx"
#include "cmStringAlgorithms.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
#include "cm_static_string_view.hxx"
-#include "cm_string_view.hxx"
#include "cmake.h"
#include "cmsys/RegularExpression.hxx"