summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioSlnData.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 20:17:18 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:46 (GMT)
commitccb5ecac0bb41b507d041548ea38f20f267b9f40 (patch)
tree917718e0699a91066c22a213217a5cafec23c2d2 /Source/cmVisualStudioSlnData.cxx
parent2381634e7f54d68f6af2dfd73bbdc06e988ad5fa (diff)
downloadCMake-ccb5ecac0bb41b507d041548ea38f20f267b9f40.zip
CMake-ccb5ecac0bb41b507d041548ea38f20f267b9f40.tar.gz
CMake-ccb5ecac0bb41b507d041548ea38f20f267b9f40.tar.bz2
clang-tidy: fix `readability-const-return-type` lints
Diffstat (limited to 'Source/cmVisualStudioSlnData.cxx')
-rw-r--r--Source/cmVisualStudioSlnData.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVisualStudioSlnData.cxx b/Source/cmVisualStudioSlnData.cxx
index 8ed0ab8..4b6754e 100644
--- a/Source/cmVisualStudioSlnData.cxx
+++ b/Source/cmVisualStudioSlnData.cxx
@@ -20,7 +20,7 @@ std::string cmSlnProjectEntry::GetProjectConfiguration(
return projectConfigurationMap[solutionConfiguration];
}
-const cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByGUID(
+cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByGUID(
const std::string& projectGUID) const
{
auto it(ProjectsByGUID.find(projectGUID));
@@ -30,7 +30,7 @@ const cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByGUID(
return cm::nullopt;
}
-const cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByName(
+cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByName(
const std::string& projectName) const
{
auto it(ProjectNameIndex.find(projectName));