diff OrthancFramework/Sources/SystemToolbox.cpp @ 4203:4d42408da117

improving const-correctness in ParsedDicomFile
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Sep 2020 15:01:31 +0200
parents a2f1c97002fe
children 3d6f14a05db1
line wrap: on
line diff
--- a/OrthancFramework/Sources/SystemToolbox.cpp	Thu Sep 17 08:35:11 2020 +0200
+++ b/OrthancFramework/Sources/SystemToolbox.cpp	Thu Sep 17 15:01:31 2020 +0200
@@ -637,7 +637,7 @@
     // CPUs or cores or hyperthreading units)
     unsigned int threads = boost::thread::hardware_concurrency();
     
-    if (threads <= 0)
+    if (threads == 0)
     {
       return 1;
     }