Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2017-08-09 10:18:31 +0100
committerPhil Nash2017-08-09 10:18:31 +0100
commit8382d99081d497947652b87f12cc0b10c2e4b0de (patch)
tree2225b7afa936ddae06dd8c6ff9068f77f39648bf /include
parentdc1df297e3f1d03a36bc7c39cde33b47c8b942a5 (diff)
downloadcatch3-8382d99081d497947652b87f12cc0b10c2e4b0de.tar.gz
Workaround for GCC 4.8 "deleted ctor in aggregate" bug
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_assertioninfo.h2
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;
};