File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2314,7 +2314,7 @@ __SYCL_EXPORT void HandlerAccess::preProcess(handler &CGH,
23142314  F (AuxHandler);
23152315  auto  E = AuxHandler.finalize ();
23162316  if  (EventNeeded)
2317-     CGH.depends_on (E );
2317+     CGH.depends_on (std::move (E) );
23182318}
23192319__SYCL_EXPORT void  HandlerAccess::postProcess (handler &CGH,
23202320                                              type_erased_cgfo_ty F) {
@@ -2331,7 +2331,7 @@ __SYCL_EXPORT void HandlerAccess::postProcess(handler &CGH,
23312331  PostProcessHandler.impl ->MAuxiliaryResources  = CGH.impl ->MAuxiliaryResources ;
23322332  auto  E = CGH.finalize ();
23332333  if  (!InOrder)
2334-     PostProcessHandler.depends_on (E );
2334+     PostProcessHandler.depends_on (std::move (E) );
23352335  F (PostProcessHandler);
23362336  swap (CGH, PostProcessHandler);
23372337}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments