X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fbases%2FMutex.hxx;h=d32bbba563110d46f76c452c8000b051369948e4;hb=c9208a8ef7f32a620d9650908588320ff159a167;hp=0dcf0a1fcd62d71c252656182db1e2e4673b6b40;hpb=14ddeddd588b20887c99de78c95d402527062012;p=modules%2Fyacs.git diff --git a/src/bases/Mutex.hxx b/src/bases/Mutex.hxx index 0dcf0a1fc..d32bbba56 100644 --- a/src/bases/Mutex.hxx +++ b/src/bases/Mutex.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2014 CEA/DEN, EDF R&D +// Copyright (C) 2006-2019 CEA/DEN, EDF R&D // // 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