mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Don't try to move a const reference
This commit is contained in:
@@ -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)) { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user