-// Copyright (C) 2006-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2015 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
RefCounter::_totalCnt++;
#endif
_cnt++;
- _globalMutexForTS.unlock();
+ _globalMutexForTS.unLock();
}
bool RefCounter::decrRef()
RefCounter::_totalCnt--;
#endif
bool ret=(--_cnt==0);
- _globalMutexForTS.unlock();
+ _globalMutexForTS.unLock();
if(ret)
delete this;
return ret;
#endif
}
+RefCounter::RefCounter(const RefCounter& other):_cnt(1)
+{
+}
+
RefCounter::~RefCounter()
{
#ifdef REFCNT