diff options
| author | Phil Nash | 2017-08-09 10:18:31 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-08-09 10:18:31 +0100 |
| commit | 8382d99081d497947652b87f12cc0b10c2e4b0de (patch) | |
| tree | 2225b7afa936ddae06dd8c6ff9068f77f39648bf /include | |
| parent | dc1df297e3f1d03a36bc7c39cde33b47c8b942a5 (diff) | |
| download | catch3-8382d99081d497947652b87f12cc0b10c2e4b0de.tar.gz | |
Workaround for GCC 4.8 "deleted ctor in aggregate" bug
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_assertioninfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; |