MCPcopy Create free account
hub / github.com/KDE/kdiff3 / instance

Method instance

diff_ext_for_kdiff3/server.cpp:154–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154SERVER* 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
166SERVER::SERVER() : _reference_count(0)
167{

Callers

nothing calls this directly

Calls 1

initLoggingMethod · 0.80

Tested by

no test coverage detected