Fix failed override attempt
This commit is contained in:
@@ -117,7 +117,7 @@ namespace Online
|
||||
/** Checks the request if it has enough (correct) information to be
|
||||
* executed (and thus allowed to add to the queue).
|
||||
*/
|
||||
bool HTTPRequest::isAllowedToAdd()
|
||||
bool HTTPRequest::isAllowedToAdd() const
|
||||
{
|
||||
return Request::isAllowedToAdd() && m_url.substr(0, 5) == "http:";
|
||||
} // isAllowedToAdd
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace Online
|
||||
bool manage_memory = false,
|
||||
int priority = 1);
|
||||
virtual ~HTTPRequest() {};
|
||||
virtual bool isAllowedToAdd() OVERRIDE;
|
||||
virtual bool isAllowedToAdd() const OVERRIDE;
|
||||
void setServerURL(const std::string& url);
|
||||
void setAddonsURL(const std::string& path);
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user