| 2205 | //----------------------------------------------------------------------------- |
| 2206 | |
| 2207 | void SimObject::setCopySource( SimObject* object ) |
| 2208 | { |
| 2209 | if( mCopySource ) |
| 2210 | mCopySource->unregisterReference( &mCopySource ); |
| 2211 | mCopySource = object; |
| 2212 | if( mCopySource ) |
| 2213 | mCopySource->registerReference( &mCopySource ); |
| 2214 | } |
| 2215 | |
| 2216 | //--------------------------------------------------------------------------- |
| 2217 |
no test coverage detected