Skip to content

Commit

Permalink
Return get_url by const reference
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Apr 22, 2024
1 parent 24087de commit d271df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addon/downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ class Transfer final
}
#endif

std::string get_url() const
const std::string& get_url() const
{
return m_url;
}
Expand Down

0 comments on commit d271df1

Please sign in to comment.