diff options
author | Brad King <brad.king@kitware.com> | 2021-06-16 14:54:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-16 14:57:14 (GMT) |
commit | d6d4af0ec3b52170c2691478a4d43c505a846799 (patch) | |
tree | a407a3b4c78988eb13e15a6993e8705c253089e0 /Source | |
parent | a9ff600a509d6af1c25f482e1ce0184c97dd3f54 (diff) | |
download | CMake-d6d4af0ec3b52170c2691478a4d43c505a846799.zip CMake-d6d4af0ec3b52170c2691478a4d43c505a846799.tar.gz CMake-d6d4af0ec3b52170c2691478a4d43c505a846799.tar.bz2 |
cmGlobalVisualStudio10Generator: Move static functions to anonymous namespace
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index badce2e..596c731 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -1313,8 +1313,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); @@ -1349,12 +1350,13 @@ static cmIDEFlagTable const* cmLoadFlagTableJson( return ret; } -static std::string cmGetFlagTableName(std::string const& toolsetName, - std::string const& table) +std::string cmGetFlagTableName(std::string const& toolsetName, + std::string const& table) { return cmSystemTools::GetCMakeRoot() + "/Templates/MSBuild/FlagTables/" + toolsetName + "_" + table + ".json"; } +} cmIDEFlagTable const* cmGlobalVisualStudio10Generator::LoadFlagTable( std::string const& optionsName, std::string const& toolsetName, |