Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Removed some cruft

Commit
fe67902de1a3df907d07857b49dde82b694c0c41
Author
Phil Nash ·
Parents
5cad9d5a8691

Files · Download .tar.gz

Changes

 internal/catch_hub_impl.hpp | 19 -------------------
 1 file changed, 19 deletions(-)

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