]> Creatis software - bbtk.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 10:04:57 +0000 (11:04 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 10:04:57 +0000 (11:04 +0100)
kernel/src/bbtkBlackBox.cxx

index f2471fa458b1c173bccae60da8a21425451cccf7..091cdddac41a9db8d401993ef4b796afa2468734 100644 (file)
@@ -663,7 +663,7 @@ namespace bbtk
 
       
       auto stop       = std::chrono::high_resolution_clock::now();
-      auto duration   = duration_cast<std::chrono::microseconds>(stop - start);
+      auto duration   = std::chrono::duration_cast<std::chrono::microseconds>(stop - start);
       printf("EED BlackBox::bbExecute  time= %ld  %s \n", duration.count() , bbGetFullName().c_str() );
       printf("EED BlackBox::bbExecute  end %s \n", bbGetFullName().c_str() );