I have a project with std::enable_shared_from_this<> is quite commonly inherited by multiply classes. When I trying to mock these classes, I got error saying "Can't mock a type with multiple inheritance or with non-polymorphic base class".
Currently, not. Due to the complexity of hacking the virtual table FakeIt can only handle simple inheritance hierarchies. Multiple inheritance is not supported.
Hi,
I have a project with std::enable_shared_from_this<> is quite commonly inherited by multiply classes. When I trying to mock these classes, I got error saying "Can't mock a type with multiple inheritance or with non-polymorphic base class".
Is there any suggestion for this scenario?
Thanks!