Workaround for GCC 4.8 "deleted ctor in aggregate" bug

This commit is contained in:
Phil Nash 2017-08-09 10:18:31 +01:00
parent dc1df297e3
commit 8382d99081

View File

@ -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;
};