mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	TrackerContext: Remove misleading instance static method.
TrackerContext is not used as singleton, so just remove this misleading method
This commit is contained in:
		 Martin Hostettler
					Martin Hostettler
				
			
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
						parent
						
							91b617c462
						
					
				
				
					commit
					4a1ca1ab55
				
			| @@ -8,21 +8,6 @@ | ||||
| #include "internal/catch_suppress_warnings.h" | ||||
| #include "internal/catch_test_case_tracker.h" | ||||
|  | ||||
|  | ||||
| namespace Catch | ||||
| { | ||||
|     class LocalContext { | ||||
|  | ||||
|     public: | ||||
|         TrackerContext& operator()() const { | ||||
|             return TrackerContext::instance(); | ||||
|         } | ||||
|     }; | ||||
|  | ||||
| } // namespace Catch | ||||
|  | ||||
| // ------------------- | ||||
|  | ||||
| #include "catch.hpp" | ||||
|  | ||||
| using namespace Catch; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user