fix: Don't try to move a const reference

This commit is contained in:
WerWolv
2025-10-17 19:33:27 +02:00
parent ba6953fda4
commit fd54b2b803

View File

@@ -159,7 +159,7 @@ namespace hex::plugin::builtin {
ImGui::EndChild();
struct DonationPage {
DonationPage(const std::fs::path &path, const std::string &link) :
DonationPage(const std::fs::path &path, std::string link) :
texture(ImGuiExt::Texture::fromImage(romfs::get(path).span<std::byte>(), ImGuiExt::Texture::Filter::Linear)),
link(std::move(link)) { }