1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 15:32:10 +08:00

cmGlobalVisualStudio10Generator: Move static functions to anonymous namespace

This commit is contained in:
Brad King
2021-06-16 10:54:50 -04:00
parent 4371a25d1f
commit e66a7fe07b

View File

@@ -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