summaryrefslogtreecommitdiff
path: root/src/content/packages.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/packages.h')
-rw-r--r--src/content/packages.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/content/packages.h b/src/content/packages.h
index fc60d5703..9029475ef 100644
--- a/src/content/packages.h
+++ b/src/content/packages.h
@@ -39,10 +39,7 @@ struct Package
type.empty() || release <= 0);
}
- std::string getDownloadURL(const std::string &baseURL) const
- {
- return baseURL + "/packages/" + author + "/" + name + "/download/";
- }
+ std::string getDownloadURL(const std::string &baseURL) const;
};
#if USE_CURL