Remove workaround for GCC 4.8, as it is no longer supported

Closes #1442
This commit is contained in:
Martin Hořeňovský 2019-11-04 13:53:46 +01:00
parent e6b9b854b5
commit d1cb727e85
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 3 additions and 7 deletions

View File

@ -14,16 +14,13 @@
namespace Catch {
struct AssertionInfo
{
struct AssertionInfo {
// AssertionInfo() = delete;
StringRef macroName;
SourceLineInfo lineInfo;
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;
};
} // end namespace Catch

View File

@ -45,7 +45,6 @@ namespace Catch {
std::vector<TestCase> m_functions;
mutable RunTests::InWhatOrder m_currentSortOrder = RunTests::InDeclarationOrder;
mutable std::vector<TestCase> m_sortedFunctions;
std::ios_base::Init m_ostreamInit; // Forces cout/ cerr to be initialised
};
///////////////////////////////////////////////////////////////////////////