Project

General

Profile

Revision b781545c

IDb781545cbe86f50b4a5266115f2ec45f0d5f4316

Added by Georg Kunz over 8 years ago

[master] streamlined templated implementation of locks

View differences:

src/sim/clockeddefaultlist.cc
40 40

  
41 41
template<class T>
42 42
cLockedDefaultList<T>::cLockedDefaultList(const char *name) :
43
  cDefaultList(name)
43
  cDefaultList(name),
44
  lock()
44 45
{
45
    lock = new T();
46 46
}
47 47

  
48 48
template<class T>

Also available in: Unified diff