| 114 | const std::type_info &View::typeInfoForCoreCreation() const { return typeid(*this); } |
| 115 | |
| 116 | void View::lazyInitCore() const |
| 117 | { |
| 118 | if (_core) { |
| 119 | return; |
| 120 | } |
| 121 | |
| 122 | // NOLINTNEXTLINE(cppcoreguidelines-pro-type-const-cast) |
| 123 | auto un_const_this = const_cast<View *>(this); |
| 124 | |
| 125 | _core = _viewCoreFactory->createViewCore(typeInfoForCoreCreation()); |
| 126 | un_const_this->bindViewCore(); |
| 127 | } |
| 128 | |
| 129 | std::shared_ptr<View::Core> View::viewCore() |
| 130 | { |
nothing calls this directly
no test coverage detected