Salome HOME
Updated copyright comment
[modules/yacs.git] / src / bases / Mutex.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 0dcf0a1..df050e3
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -49,12 +49,6 @@ namespace YACS
   {
     typedef MutexPT Mutex;
     typedef ConditionPT Condition;
-    struct Lock
-    {
-      YACS::BASES::Mutex * _mutex;
-      Lock(YACS::BASES::Mutex * mutex) : _mutex(mutex) {_mutex->lock();};
-      ~Lock() {_mutex->unlock();};
-    };
   }
 }
 #else