From e9305ecd65d0b9a6983dde6b33b6edb19b6633d5 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Wed, 9 Jan 2013 19:32:50 +0000 Subject: [PATCH] Fixed bug in generators --- include/internal/catch_generators.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_generators.hpp b/include/internal/catch_generators.hpp index 295db35d..76a13f44 100644 --- a/include/internal/catch_generators.hpp +++ b/include/internal/catch_generators.hpp @@ -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( index ); + return m_from+static_cast( index ); } virtual std::size_t size() const {