From d271df128d9a75bf5b34a2bc8dcd9f0851474e46 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Mon, 22 Apr 2024 14:13:22 +0200 Subject: [PATCH] Return get_url by const reference --- src/addon/downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addon/downloader.cpp b/src/addon/downloader.cpp index 7d59629ca07..641fd7c800f 100644 --- a/src/addon/downloader.cpp +++ b/src/addon/downloader.cpp @@ -336,7 +336,7 @@ class Transfer final } #endif - std::string get_url() const + const std::string& get_url() const { return m_url; }