Skip to content

Commit

Permalink
[rp-download] verifyCacheKey(): Should be std::tstring, not std::string.
Browse files Browse the repository at this point in the history
Otherwise, the Windows build breaks.
  • Loading branch information
GerbilSoft committed Oct 18, 2024
1 parent 0096157 commit 51d73b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rp-download/CacheKeyVerify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace RpDownload {
* @param cache_key [in] Cache key
* @return CacheKeyError
*/
CacheKeyError verifyCacheKey(std::string &outURL, bool &check_newer, const TCHAR *cache_key)
CacheKeyError verifyCacheKey(tstring &outURL, bool &check_newer, const TCHAR *cache_key)
{
// Check the cache key prefix. The prefix indicates the system
// and identifies the online database used.
Expand Down
2 changes: 1 addition & 1 deletion src/rp-download/CacheKeyVerify.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ enum class CacheKeyError {
* @param cache_key [in] Cache key
* @return CacheKeyError
*/
CacheKeyError verifyCacheKey(std::string &outURL, bool &check_newer, const TCHAR *cache_key);
CacheKeyError verifyCacheKey(std::tstring &outURL, bool &check_newer, const TCHAR *cache_key);

} // namespace RpDownload

0 comments on commit 51d73b7

Please sign in to comment.