diff --git a/platform/http_uploader.hpp b/platform/http_uploader.hpp index 9379a65556..894a7b9d78 100644 --- a/platform/http_uploader.hpp +++ b/platform/http_uploader.hpp @@ -16,7 +16,7 @@ public: void SetParams(std::map const & params) { m_params = params; } void SetHeaders(std::map const & headers) { m_headers = headers; } void SetFileKey(std::string const & fileKey) { m_fileKey = fileKey; } - void SetFilename(std::string const & filename) { m_filename = filename; } + void SetFilename(std::string const & filePath) { m_filePath = filePath; } void SetCallback(ResultCallback const & callback) { m_callback = callback; } void Upload() const; @@ -27,7 +27,7 @@ private: std::map m_params; std::map m_headers; std::string m_fileKey = "file"; - std::string m_filename; + std::string m_filePath; ResultCallback m_callback; }; } // namespace platform