devel/catch: update to 2.7.0

Release notes: https://github.com/catchorg/Catch2/releases/tag/v2.7.0
This commit is contained in:
Pietro Cerutti 2019-03-12 12:34:23 +00:00
parent 43f0c21bca
commit 689c58b718
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495450
3 changed files with 4 additions and 35 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= catch
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.1
DISTVERSION= 2.7.0
PORTREVISION= 0
CATEGORIES= devel

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1550050778
SHA256 (catchorg-Catch2-v2.6.1_GH0.tar.gz) = b57c2d3362102a77955d3cd0181b792c496520349bfefee8379b9d35b8819f80
SIZE (catchorg-Catch2-v2.6.1_GH0.tar.gz) = 559715
TIMESTAMP = 1552392787
SHA256 (catchorg-Catch2-v2.7.0_GH0.tar.gz) = d4655e87c0ccda5a2e78bf4256fce8036feb969399503dcc8272f4c90347d9c0
SIZE (catchorg-Catch2-v2.7.0_GH0.tar.gz) = 569753

View file

@ -1,31 +0,0 @@
From e8bfd882e8e8738d884933ad75eb25e8a50989b8 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 12 Feb 2019 12:57:00 -0800
Subject: [PATCH] Fix -Wdefaulted-function-deleted warning
Clang8 warns
catch_interfaces_reporter.h:84:25: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
| AssertionStats& operator = ( AssertionStats && ) = default;
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
include/internal/catch_interfaces_reporter.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/internal/catch_interfaces_reporter.h b/include/internal/catch_interfaces_reporter.h
index 9d99c9814..e5fbf8bb0 100644
--- include/internal/catch_interfaces_reporter.h.orig
+++ include/internal/catch_interfaces_reporter.h
@@ -80,8 +80,8 @@ namespace Catch {
AssertionStats( AssertionStats const& ) = default;
AssertionStats( AssertionStats && ) = default;
- AssertionStats& operator = ( AssertionStats const& ) = default;
- AssertionStats& operator = ( AssertionStats && ) = default;
+ AssertionStats& operator = ( AssertionStats const& ) = delete;
+ AssertionStats& operator = ( AssertionStats && ) = delete;
virtual ~AssertionStats();
AssertionResult assertionResult;