diff --git a/platform/platform_tests/download_test.cpp b/platform/platform_tests/download_test.cpp index f9f5b94ec2..e68988c251 100644 --- a/platform/platform_tests/download_test.cpp +++ b/platform/platform_tests/download_test.cpp @@ -33,19 +33,6 @@ Platform & gPlatform = GetPlatform(); DownloadManager & gMgr = GetDownloadManager(); -string GetHostFromUrl(string const & url) -{ - size_t start = url.find("://"); - if (start != string::npos) - start += 3; - else - start = 0; - size_t end = url.find('/', start); - if (end == string::npos) - end = url.size(); - return url.substr(start, end - start); -} - template struct DlObserver {