mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-29 16:53:30 +01:00
Remove workaround for GCC 4.8, as it is no longer supported
Closes #1442
This commit is contained in:
parent
e6b9b854b5
commit
d1cb727e85
@ -14,16 +14,13 @@
|
|||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
|
|
||||||
struct AssertionInfo
|
struct AssertionInfo {
|
||||||
{
|
// AssertionInfo() = delete;
|
||||||
|
|
||||||
StringRef macroName;
|
StringRef macroName;
|
||||||
SourceLineInfo lineInfo;
|
SourceLineInfo lineInfo;
|
||||||
StringRef capturedExpression;
|
StringRef capturedExpression;
|
||||||
ResultDisposition::Flags resultDisposition;
|
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
|
} // end namespace Catch
|
||||||
|
@ -45,7 +45,6 @@ namespace Catch {
|
|||||||
std::vector<TestCase> m_functions;
|
std::vector<TestCase> m_functions;
|
||||||
mutable RunTests::InWhatOrder m_currentSortOrder = RunTests::InDeclarationOrder;
|
mutable RunTests::InWhatOrder m_currentSortOrder = RunTests::InDeclarationOrder;
|
||||||
mutable std::vector<TestCase> m_sortedFunctions;
|
mutable std::vector<TestCase> m_sortedFunctions;
|
||||||
std::ios_base::Init m_ostreamInit; // Forces cout/ cerr to be initialised
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user