summaryrefslogtreecommitdiffstats
path: root/Source/cmExportSet.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExportSet.h')
-rw-r--r--Source/cmExportSet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmExportSet.h b/Source/cmExportSet.h
index 58ad617..0ef306f 100644
--- a/Source/cmExportSet.h
+++ b/Source/cmExportSet.h
@@ -6,6 +6,7 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
+#include <utility>
#include <vector>
class cmInstallExportGenerator;
@@ -17,8 +18,8 @@ class cmExportSet
{
public:
/// Construct an empty export set named \a name
- cmExportSet(const std::string& name)
- : Name(name)
+ cmExportSet(std::string name)
+ : Name(std::move(name))
{
}
/// Destructor