MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / create

Method create

Source/OptionsLayer.cpp:31–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29USING_NS_AX;
30
31OptionsLayer* OptionsLayer::create()
32{
33 auto pRet = new(std::nothrow) OptionsLayer();
34
35 if (pRet && pRet->init()) {
36 pRet->autorelease();
37 return pRet;
38 } else {
39 AX_SAFE_DELETE(pRet);
40 return nullptr;
41 }
42}
43
44bool OptionsLayer::init()
45{

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected