mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Workaround for GCC 4.8 "deleted ctor in aggregate" bug
This commit is contained in:
parent
dc1df297e3
commit
8382d99081
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user