mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Address results of PVS-Studio static analysis
Couple are left un-addressed, see #958 for details.
This commit is contained in:
		| @@ -68,8 +68,9 @@ namespace Catch { | ||||
|  | ||||
|     private: | ||||
|         class AssertionPrinter { | ||||
|             void operator= ( AssertionPrinter const& ); | ||||
|         public: | ||||
|             AssertionPrinter& operator= ( AssertionPrinter const& ) = delete; | ||||
|             AssertionPrinter( AssertionPrinter const& ) = delete; | ||||
|             AssertionPrinter( std::ostream& _stream, AssertionStats const& _stats, bool _printInfoMessages ) | ||||
|             : stream( _stream ) | ||||
|             , stats( _stats ) | ||||
|   | ||||
| @@ -97,8 +97,9 @@ namespace Catch { | ||||
|     private: | ||||
|  | ||||
|         class AssertionPrinter { | ||||
|             void operator= ( AssertionPrinter const& ); | ||||
|         public: | ||||
|             AssertionPrinter& operator= ( AssertionPrinter const& ) = delete; | ||||
|             AssertionPrinter( AssertionPrinter const& ) = delete; | ||||
|             AssertionPrinter( std::ostream& _stream, AssertionStats const& _stats, bool _printInfoMessages ) | ||||
|             :   stream( _stream ), | ||||
|                 stats( _stats ), | ||||
|   | ||||
| @@ -61,8 +61,9 @@ namespace Catch { | ||||
|     private: | ||||
|         size_t counter = 0; | ||||
|         class AssertionPrinter { | ||||
|             void operator= ( AssertionPrinter const& ); | ||||
|         public: | ||||
|             AssertionPrinter& operator= ( AssertionPrinter const& ) = delete; | ||||
|             AssertionPrinter( AssertionPrinter const& ) = delete; | ||||
|             AssertionPrinter( std::ostream& _stream, AssertionStats const& _stats, size_t counter ) | ||||
|             : stream( _stream ) | ||||
|             , stats( _stats ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský