diff options
Diffstat (limited to 'Source/cmVisualStudioSlnData.cxx')
-rw-r--r-- | Source/cmVisualStudioSlnData.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmVisualStudioSlnData.cxx b/Source/cmVisualStudioSlnData.cxx index da5a56c..98bbc34 100644 --- a/Source/cmVisualStudioSlnData.cxx +++ b/Source/cmVisualStudioSlnData.cxx @@ -26,8 +26,7 @@ const cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByGUID( auto it(ProjectsByGUID.find(projectGUID)); if (it != ProjectsByGUID.end()) return it->second; - else - return cm::nullopt; + return cm::nullopt; } const cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByName( @@ -36,8 +35,7 @@ const cm::optional<cmSlnProjectEntry> cmSlnData::GetProjectByName( auto it(ProjectNameIndex.find(projectName)); if (it != ProjectNameIndex.end()) return it->second->second; - else - return cm::nullopt; + return cm::nullopt; } std::vector<cmSlnProjectEntry> cmSlnData::GetProjects() const |