|  |  | @@ -7,7 +7,7 @@ TEST_CASE("deleter called on destruction", "[ScopeGuard]") | 
		
	
		
			
			|  |  |  | bool executed = false; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | auto guard = sg::scope_guard([&executed] { executed = true; }); | 
		
	
		
			
			|  |  |  | auto guard = sr::scope_guard([&executed] { executed = true; }); | 
		
	
		
			
			|  |  |  | static_cast<void>(guard); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
			|  |  | @@ -19,7 +19,7 @@ TEST_CASE("deleter is not called if released", "[ScopeGuard]") | 
		
	
		
			
			|  |  |  | bool executed = false; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | auto guard = sg::scope_guard([&executed] { executed = true; }); | 
		
	
		
			
			|  |  |  | auto guard = sr::scope_guard([&executed] { executed = true; }); | 
		
	
		
			
			|  |  |  | guard.release(); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
			|  |  | @@ -31,7 +31,7 @@ TEST_CASE("move releases moved-from object", "[ScopeGuard]") | 
		
	
		
			
			|  |  |  | std::size_t calls{0}; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | auto movedFrom = sg::scope_guard([&calls] { ++calls; }); | 
		
	
		
			
			|  |  |  | auto movedFrom = sr::scope_guard([&calls] { ++calls; }); | 
		
	
		
			
			|  |  |  | auto guard = std::move(movedFrom); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | } | 
		
	
	
		
			
			|  |  | @@ -44,7 +44,7 @@ TEST_CASE("move transfers state", "[ScopeGuard]") | 
		
	
		
			
			|  |  |  | bool executed = false; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | auto movedFrom = sg::scope_guard([&executed] { executed = true; }); | 
		
	
		
			
			|  |  |  | auto movedFrom = sr::scope_guard([&executed] { executed = true; }); | 
		
	
		
			
			|  |  |  | auto guard = std::move(movedFrom); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
			|  |  | @@ -56,7 +56,7 @@ TEST_CASE("move transfers state if released", "[ScopeGuard]") | 
		
	
		
			
			|  |  |  | bool executed = false; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | auto movedFrom = sg::scope_guard([&executed] { executed = true; }); | 
		
	
		
			
			|  |  |  | auto movedFrom = sr::scope_guard([&executed] { executed = true; }); | 
		
	
		
			
			|  |  |  | movedFrom.release(); | 
		
	
		
			
			|  |  |  | auto guard = std::move(movedFrom); | 
		
	
		
			
			|  |  |  | } |