summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-16 14:54:50 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-16 17:20:44 (GMT)
commite66a7fe07b117362120ae62826eb51c189f39c40 (patch)
tree5f7b15ecbe22a046788b2657361cb997ce03b03e /Source
parent4371a25d1fb67a185b769bac2cfb129301d9e39f (diff)
downloadCMake-e66a7fe07b117362120ae62826eb51c189f39c40.zip
CMake-e66a7fe07b117362120ae62826eb51c189f39c40.tar.gz
CMake-e66a7fe07b117362120ae62826eb51c189f39c40.tar.bz2
cmGlobalVisualStudio10Generator: Move static functions to anonymous namespace
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index 6c52ce0..1ebe405 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -1359,8 +1359,9 @@ static unsigned int cmLoadFlagTableSpecial(Json::Value entry,
return value;
}
-static cmIDEFlagTable const* cmLoadFlagTableJson(
- std::string const& flagJsonPath)
+namespace {
+
+cmIDEFlagTable const* cmLoadFlagTableJson(std::string const& flagJsonPath)
{
cmIDEFlagTable* ret = nullptr;
auto savedFlagIterator = loadedFlagJsonFiles.find(flagJsonPath);
@@ -1394,6 +1395,7 @@ static cmIDEFlagTable const* cmLoadFlagTableJson(
}
return ret;
}
+}
cm::optional<std::string> cmGlobalVisualStudio10Generator::FindFlagTable(
cm::string_view toolsetName, cm::string_view table) const