Refactor DataDownloader and CURLWebClient: update constructor and modify FileExists method signature

This commit is contained in:
Aaron Po
2026-04-02 18:06:40 -04:00
parent 2ea8aa52b4
commit a1f0ca5b20
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
class DataDownloader {
public:
/// @brief Initializes global curl state used by this downloader.
DataDownloader(std::shared_ptr<IWebClient> webClient);
explicit DataDownloader(std::shared_ptr<IWebClient> webClient);
/// @brief Cleans up global curl state.
~DataDownloader();
@@ -23,7 +23,7 @@ public:
);
private:
bool FileExists(const std::string &filePath) const;
static bool FileExists(const std::string &filePath) ;
std::shared_ptr<IWebClient> m_webClient;
};