Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_session.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-08-08 18:18:27 +0200
committerMartin Hořeňovský2020-08-10 20:30:40 +0200
commit24b83edf8aca78c975c5589baf22a5de311498a7 (patch)
tree5cd3db00515c33105d433f61fab46719d8c27d3c /src/catch2/catch_session.cpp
parentb824d06844ab3faf4ddffa036a0ea7ef0eec117b (diff)
downloadcatch3-24b83edf8aca78c975c5589baf22a5de311498a7.tar.gz
Clara cleanups
* Clara is now split between a header and a cpp file. * Removed the deprecated `+` and `+=` operators for composing a parser. * Renamed `clara` and `detail` namespaces to be inline with the rest of Catch2 (they are now `Clara` and `Detail` respectively). * Taken most of user-exposed types out of the `Detail` namespace completely (instead of using `using` directives to bring them into the outer namespace).
Diffstat (limited to 'src/catch2/catch_session.cpp')
-rw-r--r--src/catch2/catch_session.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/catch2/catch_session.cpp b/src/catch2/catch_session.cpp
index d163aaf8..e64299f3 100644
--- a/src/catch2/catch_session.cpp
+++ b/src/catch2/catch_session.cpp
@@ -176,7 +176,7 @@ namespace Catch {
if( m_startupExceptions )
return 1;
- auto result = m_cli.parse( clara::Args( argc, argv ) );
+ auto result = m_cli.parse( Clara::Args( argc, argv ) );
if( !result ) {
config();
getCurrentMutableContext().setConfig(m_config.get());
@@ -239,10 +239,10 @@ namespace Catch {
return exitCode;
}
- clara::Parser const& Session::cli() const {
+ Clara::Parser const& Session::cli() const {
return m_cli;
}
- void Session::cli( clara::Parser const& newParser ) {
+ void Session::cli( Clara::Parser const& newParser ) {
m_cli = newParser;
}
ConfigData& Session::configData() {