mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	New version of Clara
- Clara now built with new stitch script (based on generateSingleInclude) - also fixed python scripts for python 3 (print now a function rather than a keyword)
This commit is contained in:
		@@ -29,9 +29,11 @@ namespace Catch {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Option& operator= ( Option const& _other ) {
 | 
			
		||||
            reset();
 | 
			
		||||
            if( _other )
 | 
			
		||||
                nullableValue = new( storage ) T( *_other );
 | 
			
		||||
            if( &_other != this ) {
 | 
			
		||||
                reset();
 | 
			
		||||
                if( _other )
 | 
			
		||||
                    nullableValue = new( storage ) T( *_other );
 | 
			
		||||
            }
 | 
			
		||||
            return *this;
 | 
			
		||||
        }
 | 
			
		||||
        Option& operator = ( T const& _value ) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user