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

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_section.cpp
diff options
context:
space:
mode:
authorPhil Nash2018-06-25 19:04:29 +0100
committerPhil Nash2018-06-25 19:04:29 +0100
commit1579744dddc69c290808eae0b9c6887ee60765f2 (patch)
treee5fc0d0c53a40e3786ae26fe7c5419f74f190d83 /include/internal/catch_section.cpp
parent9b0e740e3117d77123c19f2648a28ca60b3c7465 (diff)
downloadcatch3-1579744dddc69c290808eae0b9c6887ee60765f2.tar.gz
Deprecated description in SECTION (still accepts it, for now, but doesn't use it anywhere)
Diffstat (limited to 'include/internal/catch_section.cpp')
-rw-r--r--include/internal/catch_section.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_section.cpp b/include/internal/catch_section.cpp
index 72a57d51..0646d36f 100644
--- a/include/internal/catch_section.cpp
+++ b/include/internal/catch_section.cpp
@@ -21,7 +21,7 @@ namespace Catch {
Section::~Section() {
if( m_sectionIncluded ) {
- SectionEndInfo endInfo( m_info, m_assertions, m_timer.getElapsedSeconds() );
+ SectionEndInfo endInfo{ m_info, m_assertions, m_timer.getElapsedSeconds() };
if( uncaught_exceptions() )
getResultCapture().sectionEndedEarly( endInfo );
else