Removed some cruft

This commit is contained in:
Phil Nash 2011-01-28 10:10:05 +00:00
parent 5cad9d5a86
commit fe67902de1

View File

@ -122,12 +122,6 @@ namespace Catch
{ {
public: public:
GeneratorsForTest
()
: m_currentGenerator( 0 )
{
}
~GeneratorsForTest ~GeneratorsForTest
() ()
{ {
@ -162,24 +156,11 @@ namespace Catch
return true; return true;
} }
return false; return false;
/*
if( !m_generatorsInOrder[m_currentGenerator]->moveNext() )
{
if( ++m_currentGenerator == m_generatorsInOrder.size() )
{
m_currentGenerator = 0;
return false;
}
}
return true;
*/
} }
private: private:
std::map<std::string, GeneratorInfo*> m_generatorsByName; std::map<std::string, GeneratorInfo*> m_generatorsByName;
std::vector<GeneratorInfo*> m_generatorsInOrder; std::vector<GeneratorInfo*> m_generatorsInOrder;
std::size_t m_currentGenerator;
}; };
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////