catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Workaround for GCC 4.8 "deleted ctor in aggregate" bug
- Commit
8382d99081d497947652b87f12cc0b10c2e4b0de- Author
- Phil Nash ·
- Parents
dc1df297e3f1
Changes
include/internal/catch_assertioninfo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/internal/catch_assertioninfo.h b/include/internal/catch_assertioninfo.h index 21646b21..1ac304e1 100644 --- a/include/internal/catch_assertioninfo.h +++ b/include/internal/catch_assertioninfo.h @@ -21,6 +21,8 @@ namespace Catch { StringRef capturedExpression; ResultDisposition::Flags resultDisposition; + // We want to delete this constructor but a compiler bug in 4.8 means + // the struct is then treated as non-aggregate AssertionInfo() = delete; };