Skip to content

Commit

Permalink
Merge pull request #3121 from MirServer/bugfix/hosted_wayland_test
Browse files Browse the repository at this point in the history
Fix for the Wayland platform failing to use GenericEGLDisplayProvider::Tag  in maybe_create_provider
  • Loading branch information
Saviq authored Nov 9, 2023
2 parents 7f05753 + 9c57f3e commit 4c131c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/wayland/platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ mir::UniqueModulePtr<mg::Display> mgw::Platform::create_display(

auto mgw::Platform::maybe_create_provider(const DisplayProvider::Tag& type_tag) -> std::shared_ptr<DisplayProvider>
{
if (dynamic_cast<GenericEGLDisplayProvider const*>(&type_tag))
if (dynamic_cast<GenericEGLDisplayProvider::Tag const*>(&type_tag))
{
return provider;
}
Expand Down

0 comments on commit 4c131c1

Please sign in to comment.