mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-30 09:34:06 +00:00
Fix unity build error by removing using namespace std;
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
b5b333c832
commit
215c19dcc7
@@ -11,10 +11,8 @@
|
||||
#include <QSslError>
|
||||
#include <QUrl>
|
||||
|
||||
using namespace std;
|
||||
|
||||
HttpThread::HttpThread(string const & url, downloader::IHttpThreadCallback & cb, int64_t beg, int64_t end, int64_t size,
|
||||
string const & pb)
|
||||
HttpThread::HttpThread(std::string const & url, downloader::IHttpThreadCallback & cb, int64_t beg, int64_t end,
|
||||
int64_t size, std::string const & pb)
|
||||
: m_callback(cb)
|
||||
, m_begRange(beg)
|
||||
, m_endRange(end)
|
||||
@@ -145,8 +143,8 @@ void HttpThread::OnDownloadFinished()
|
||||
namespace downloader
|
||||
{
|
||||
|
||||
HttpThread * CreateNativeHttpThread(string const & url, downloader::IHttpThreadCallback & cb, int64_t beg, int64_t end,
|
||||
int64_t size, string const & pb)
|
||||
HttpThread * CreateNativeHttpThread(std::string const & url, downloader::IHttpThreadCallback & cb, int64_t beg,
|
||||
int64_t end, int64_t size, std::string const & pb)
|
||||
{
|
||||
return new HttpThread(url, cb, beg, end, size, pb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user