From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 20 Dec 2024 10:04:57 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=43d07e6db5fc83211a4880a200d7ae45babd80d5;p=bbtk.git Clean code --- diff --git a/kernel/src/bbtkBlackBox.cxx b/kernel/src/bbtkBlackBox.cxx index f2471fa..091cddd 100644 --- a/kernel/src/bbtkBlackBox.cxx +++ b/kernel/src/bbtkBlackBox.cxx @@ -663,7 +663,7 @@ namespace bbtk auto stop = std::chrono::high_resolution_clock::now(); - auto duration = duration_cast(stop - start); + auto duration = std::chrono::duration_cast(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() );