From dc3aa4024eba3067d2cc81087aeccd4b31cf23f0 Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Mon, 16 Aug 2021 16:46:53 +0200 Subject: Refactor: Use new SetProperty signatures --- Source/cmSetSourceFilesPropertiesCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/cmSetSourceFilesPropertiesCommand.cxx') diff --git a/Source/cmSetSourceFilesPropertiesCommand.cxx b/Source/cmSetSourceFilesPropertiesCommand.cxx index 237b67fedb..ab93ddb549 100644 --- a/Source/cmSetSourceFilesPropertiesCommand.cxx +++ b/Source/cmSetSourceFilesPropertiesCommand.cxx @@ -173,7 +173,7 @@ static bool RunCommandForScope( SetPropertyCommand::HandleAndValidateSourceFilePropertyGENERATED( sf, *(k + 1)); } else { - sf->SetProperty(*k, (k + 1)->c_str()); + sf->SetProperty(*k, *(k + 1)); } } } -- cgit v1.2.1