From 43d07e6db5fc83211a4880a200d7ae45babd80d5 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Fri, 20 Dec 2024 11:04:57 +0100 Subject: [PATCH] Clean code --- kernel/src/bbtkBlackBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); -- 2.47.1