Skip to content

Commit fd54b2b

Browse files
committed
fix: Don't try to move a const reference
1 parent ba6953f commit fd54b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/builtin/source/content/views/view_about.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ namespace hex::plugin::builtin {
159159
ImGui::EndChild();
160160

161161
struct DonationPage {
162-
DonationPage(const std::fs::path &path, const std::string &link) :
162+
DonationPage(const std::fs::path &path, std::string link) :
163163
texture(ImGuiExt::Texture::fromImage(romfs::get(path).span<std::byte>(), ImGuiExt::Texture::Filter::Linear)),
164164
link(std::move(link)) { }
165165

0 commit comments

Comments
 (0)