mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-21 03:55:39 +02:00
Address results of PVS-Studio static analysis
Couple are left un-addressed, see #958 for details.
This commit is contained in:
@@ -38,7 +38,8 @@ namespace Catch {
|
||||
public:
|
||||
ScopedElement( XmlWriter* writer );
|
||||
|
||||
ScopedElement( ScopedElement const& other );
|
||||
ScopedElement( ScopedElement&& other );
|
||||
ScopedElement& operator=( ScopedElement&& other );
|
||||
|
||||
~ScopedElement();
|
||||
|
||||
@@ -51,7 +52,7 @@ namespace Catch {
|
||||
}
|
||||
|
||||
private:
|
||||
mutable XmlWriter* m_writer;
|
||||
mutable XmlWriter* m_writer = nullptr;
|
||||
};
|
||||
|
||||
XmlWriter( std::ostream& os = Catch::cout() );
|
||||
|
Reference in New Issue
Block a user