| 2059 | //----------------------------------------------------------------------------- |
| 2060 | |
| 2061 | void SimObject::setCopySource( SimObject* object ) |
| 2062 | { |
| 2063 | if( mCopySource ) |
| 2064 | mCopySource->unregisterReference( &mCopySource ); |
| 2065 | mCopySource = object; |
| 2066 | if( mCopySource ) |
| 2067 | mCopySource->registerReference( &mCopySource ); |
| 2068 | } |
| 2069 | |
| 2070 | //--------------------------------------------------------------------------- |
| 2071 |
no test coverage detected