| 152 | } |
| 153 | |
| 154 | SERVER* SERVER::instance() |
| 155 | { |
| 156 | if(_instance == nullptr) |
| 157 | { |
| 158 | _instance = new SERVER(); |
| 159 | _instance->initLogging(); |
| 160 | MESSAGELOG(TEXT("New Server instance")); |
| 161 | } |
| 162 | |
| 163 | return _instance; |
| 164 | } |
| 165 | |
| 166 | SERVER::SERVER() : _reference_count(0) |
| 167 | { |
nothing calls this directly
no test coverage detected