> keep_library_alive=mir::detail::RefCountedLibrary(reinterpret_cast<void*>(&create_host_platform))]
This what I tried first (although I used a shared_ptr<> backed by mir::UniqueModulePtr<int> as the keep_alive object) but it didn't have the desired result. I also tried your proposal (RefCountedLibrary) a moment ago without success either.
« Back to merge proposal
> keep_library_ alive=mir: :detail: :RefCountedLibr ary(reinterpret _cast<void* >(&create_ host_platform) )]
This what I tried first (although I used a shared_ptr<> backed by mir::UniqueModu lePtr<int> as the keep_alive object) but it didn't have the desired result. I also tried your proposal (RefCountedLibrary) a moment ago without success either.