diff Core/MultiThreading/Semaphore.cpp @ 2884:497a637366b4 db-changes

integration mainline->db-changes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 12 Oct 2018 15:18:10 +0200
parents 0a2ad4a6858f f790999a250a
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Core/MultiThreading/Semaphore.cpp	Thu Oct 29 11:25:45 2015 +0100
+++ b/Core/MultiThreading/Semaphore.cpp	Fri Oct 12 15:18:10 2018 +0200
@@ -1,7 +1,8 @@
 /**
  * Orthanc - A Lightweight, RESTful DICOM Store
- * Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics
+ * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
  * Department, University Hospital of Liege, Belgium
+ * Copyright (C) 2017-2018 Osimis S.A., Belgium
  *
  * This program is free software: you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
@@ -38,9 +39,10 @@
 
 namespace Orthanc
 {
-  Semaphore::Semaphore(unsigned int count) : count_(count)
+  Semaphore::Semaphore(unsigned int count) :
+    count_(count)
   {
-    if (count == 0)
+    if (count_ == 0)
     {
       throw OrthancException(ErrorCode_ParameterOutOfRange);
     }