crossroads

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

copy.cc (244B)


      1 #include "mutexnode"
      2 
      3 void MutexNode::copy(MutexNode const &other) {
      4     mutex(other.mutex());
      5     obj(other.obj());
      6     left(other.left() ? new MutexNode(*(other.left())) : 0);
      7     right(other.right() ? new MutexNode(*(other.right())) : 0);
      8 }