crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

copy.cc (233B)


      1 #include "mutextable"
      2 
      3 void MutexTable::copy(MutexTable const &other) {
      4     _size = other.size();
      5     _table = new MutexTree* [_size];
      6     for (unsigned i = 0; i < _size; i++)
      7         _table[i] = new MutexTree(*(other._table[i]));
      8 }