Removed some incorrect scraper code comments

This commit is contained in:
Leon Styhre 2023-04-29 10:48:13 +02:00
parent 77bf912081
commit 24ad185924
2 changed files with 1 additions and 4 deletions

View file

@ -30,7 +30,6 @@ void thegamesdb_generate_json_scraper_requests(
class TheGamesDBJSONRequest : public ScraperHttpRequest class TheGamesDBJSONRequest : public ScraperHttpRequest
{ {
public: public:
// Constructor for a GetGamelist request.
TheGamesDBJSONRequest(std::queue<std::unique_ptr<ScraperRequest>>& requestsWrite, TheGamesDBJSONRequest(std::queue<std::unique_ptr<ScraperRequest>>& requestsWrite,
std::vector<ScraperSearchResult>& resultsWrite, std::vector<ScraperSearchResult>& resultsWrite,
const std::string& url) const std::string& url)
@ -38,7 +37,7 @@ public:
, mRequestQueue(&requestsWrite) , mRequestQueue(&requestsWrite)
{ {
} }
// Constructior for a GetGame request
TheGamesDBJSONRequest(std::vector<ScraperSearchResult>& resultsWrite, const std::string& url) TheGamesDBJSONRequest(std::vector<ScraperSearchResult>& resultsWrite, const std::string& url)
: ScraperHttpRequest(resultsWrite, url) : ScraperHttpRequest(resultsWrite, url)
, mRequestQueue(nullptr) , mRequestQueue(nullptr)

View file

@ -25,7 +25,6 @@ void screenscraper_generate_scraper_requests(const ScraperSearchParams& params,
class ScreenScraperRequest : public ScraperHttpRequest class ScreenScraperRequest : public ScraperHttpRequest
{ {
public: public:
// Constructor for a GetGamelist request.
ScreenScraperRequest(std::queue<std::unique_ptr<ScraperRequest>>& requestsWrite, ScreenScraperRequest(std::queue<std::unique_ptr<ScraperRequest>>& requestsWrite,
std::vector<ScraperSearchResult>& resultsWrite, std::vector<ScraperSearchResult>& resultsWrite,
const std::string& url) const std::string& url)
@ -34,7 +33,6 @@ public:
{ {
} }
// Constructor for a GetGame request.
ScreenScraperRequest(std::vector<ScraperSearchResult>& resultsWrite, const std::string& url) ScreenScraperRequest(std::vector<ScraperSearchResult>& resultsWrite, const std::string& url)
: ScraperHttpRequest(resultsWrite, url) : ScraperHttpRequest(resultsWrite, url)
, mRequestQueue(nullptr) , mRequestQueue(nullptr)