diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2020-03-04 12:59:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-03-04 13:00:23 (GMT) |
commit | ec33e3600ccda8f6b8c97a70b57715af331b41e6 (patch) | |
tree | 1b456bd1c250ee17383a25d67ecd192d34bad60f /testCommandLineArguments.cxx | |
parent | 4e8c4c7ebe539e59e8323d1ac79e51366a0720aa (diff) | |
download | CMake-ec33e3600ccda8f6b8c97a70b57715af331b41e6.zip CMake-ec33e3600ccda8f6b8c97a70b57715af331b41e6.tar.gz CMake-ec33e3600ccda8f6b8c97a70b57715af331b41e6.tar.bz2 |
KWSys 2020-03-04 (6af2e592)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 6af2e59217a7e10ed507da564a1445b60ac2a095 (master).
Upstream Shortlog
-----------------
Hans Johnson (17):
81d1e737 STYLE: Use modern path naming
28b8e6c2 STYLE: Convert CMake-language commands to lower case
6ce3d69a DOC: Update documentation for modern add_subdirectory.
8a7fe7ac STYLE: Remove redundant void argument lists
1c3e193d COMP: Use nullptr instead of 0 or NULL
2a4c1252 STYLE: Replace integer literals which are cast to bool.
0fe7214d STYLE: Make prototype match definition names
3b30d0ff STYLE: Make prototype match definition names
691d5612 PERF: readability container size empty
7be4043f STYLE: Prefer c++11 'using' to 'typedef'
acc916ed COMP: Prefer const pointer when value does not change
4c7f64eb COMP: Prefer const member functions
d07092a0 STYLE: Use default member initialization
6d20e7c9 STYLE: Prefer = default to explicitly trivial implementations
91429382 PERF: emplace_back method results in potentially more efficient code
cc8fc323 STYLE: Use auto for variable type matches the type of the initializer
6621b069 STYLE: Use range-based loops from C++11
Julien Schueller (1):
a1a261ac CMake: Fix psapi lib name on case-sensitive fs
Diffstat (limited to 'testCommandLineArguments.cxx')
-rw-r--r-- | testCommandLineArguments.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testCommandLineArguments.cxx b/testCommandLineArguments.cxx index 1778a9b..79ebe1a 100644 --- a/testCommandLineArguments.cxx +++ b/testCommandLineArguments.cxx @@ -98,7 +98,7 @@ int testCommandLineArguments(int argc, char* argv[]) std::vector<std::string> stl_strings_argument; std::string valid_stl_strings[] = { "ken", "brad", "bill", "andy" }; - typedef kwsys::CommandLineArguments argT; + using argT = kwsys::CommandLineArguments; arg.AddArgument("--some-int-variable", argT::SPACE_ARGUMENT, &some_int_variable, "Set some random int variable"); |