MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / GetInstance

Method GetInstance

projects/WinDurango.Common/src/WinDurango.cpp:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8void *g_pWindow = nullptr;
9
10namespace wd::common
11{
12 std::shared_ptr<WinDurango> WinDurango::GetInstance()
13 {
14 static std::shared_ptr<WinDurango> Instance =
15 std::make_shared<WinDurango>(); // if we don't declare it in src, it will make multiple instances per
16 // header import in different libs afaik
17
18 return Instance;
19 }
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected