| 427 | } |
| 428 | |
| 429 | inline WeakRefBase::WeakReference * WeakRefBase::getWeakReference() |
| 430 | { |
| 431 | if (!mReference) |
| 432 | { |
| 433 | mReference = new WeakReference(this); |
| 434 | mReference->incRefCount(); |
| 435 | } |
| 436 | return mReference; |
| 437 | } |
| 438 | |
| 439 | //--------------------------------------------------------------- |
| 440 |
no test coverage detected