mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Fixed bug in generators
This commit is contained in:
		@@ -30,7 +30,7 @@ public:
 | 
			
		||||
    BetweenGenerator( T from, T to ) : m_from( from ), m_to( to ){}
 | 
			
		||||
    
 | 
			
		||||
    virtual T getValue( std::size_t index ) const {
 | 
			
		||||
        return m_from+static_cast<T>( index );
 | 
			
		||||
        return m_from+static_cast<int>( index );
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    virtual std::size_t size() const {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user