Fixed bug in generators

This commit is contained in:
Phil Nash 2013-01-09 19:32:50 +00:00
parent 619d53439d
commit e9305ecd65
1 changed files with 1 additions and 1 deletions

View File

@ -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 {