| 65 | } |
| 66 | |
| 67 | DebugRegisterBase::DebugRegisterBase(DebugCategory* cat) |
| 68 | { |
| 69 | // Make sure Core lives at least as long any DebugCategory to |
| 70 | // allow debug prints until all Debugcategories has been destructed |
| 71 | Core::getInstance(); |
| 72 | DebugManager::getInstance().registerCategory(*cat); |
| 73 | } |
| 74 | |
| 75 | void DebugRegisterBase::unregister(DebugCategory* cat) |
| 76 | { |
nothing calls this directly
no test coverage detected