mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Cleanup some stuff found by MSVC's /analyze
* Added some missing `noexcept`s on custom destructors. * Fixed `std::move` being called on a const-reference. * Initialized `ScopedMessage::m_moved` in class definition, instead of doing so in constructors explicitly. * Turned some `enum`s into `enum class`es. * Initialized `StreamingReporterBase::currentTestCaseInfo` in class definition. * Some cleanups in SelfTest code.
This commit is contained in:
@@ -185,7 +185,7 @@ struct Obj
|
||||
{
|
||||
Obj():prop(&p){}
|
||||
|
||||
int p;
|
||||
int p = 0;
|
||||
int* prop;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user