cyphesis/tests/stubs/common/stubInheritance_custom.h
Erik Ogenvik 7ae19d5038 Use Singleton base class.
I.e. make sure that all objects have a defined life time. This requires
that we actually set up and tear down the singletons.
2018-04-25 20:15:29 +02:00

11 lines
364 B
C++

//Add custom implementations of stubbed functions here; this file won't be rewritten when re-generating stubs.
template<> Inheritance* Singleton<Inheritance>::ms_Singleton = nullptr;
#ifndef STUB_Inheritance_Inheritance
#define STUB_Inheritance_Inheritance
Inheritance::Inheritance()
: Singleton(), noClass(nullptr)
{
}
#endif //STUB_Inheritance_Inheritance