[Cache] Use curly brackets

This commit is contained in:
momo5502 2016-11-22 07:59:46 +01:00
parent ddce60ee00
commit f169fd5274

View File

@ -17,9 +17,13 @@ namespace Utils
std::lock_guard<std::mutex> _(Cache::CacheMutex);
if (Cache::ValidUrl.empty())
{
return Cache::Urls[0] + path;
}
else
{
return Cache::ValidUrl + path;
}
}
std::string Cache::GetUrl(std::string url, std::string path)