mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
clang-tidy: Replace typedef with using
This commit is contained in:
committed by
Brad King
parent
711e1c3ada
commit
62e5f72289
@@ -131,7 +131,7 @@ public:
|
||||
class ManifestKeyListValue : public ManifestKey
|
||||
{
|
||||
public:
|
||||
typedef std::vector<std::string> VList;
|
||||
using VList = std::vector<std::string>;
|
||||
VList value;
|
||||
|
||||
ManifestKeyListValue(const std::string& k)
|
||||
|
||||
@@ -157,7 +157,7 @@ int main(int argc, char const* const* argv)
|
||||
|
||||
cmsys::CommandLineArguments arg;
|
||||
arg.Initialize(argc, argv);
|
||||
typedef cmsys::CommandLineArguments argT;
|
||||
using argT = cmsys::CommandLineArguments;
|
||||
// Help arguments
|
||||
arg.AddArgument("--help", argT::NO_ARGUMENT, &help, "CPack help");
|
||||
arg.AddArgument("--help-full", argT::SPACE_ARGUMENT, &helpFull,
|
||||
|
||||
Reference in New Issue
Block a user