Fix build.
This commit is contained in:
parent
c823c54f9b
commit
c41889477c
@ -74,7 +74,7 @@ xmrig::Api::~Api()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void xmrig::Api::request(const HttpRequest &req)
|
void xmrig::Api::request(const HttpData &req)
|
||||||
{
|
{
|
||||||
HttpApiRequest request(req, m_base->config()->http().isRestricted());
|
HttpApiRequest request(req, m_base->config()->http().isRestricted());
|
||||||
|
|
||||||
|
|||||||
@ -38,7 +38,7 @@ namespace xmrig {
|
|||||||
class ApiRouter;
|
class ApiRouter;
|
||||||
class Base;
|
class Base;
|
||||||
class Httpd;
|
class Httpd;
|
||||||
class HttpRequest;
|
class HttpData;
|
||||||
class IApiListener;
|
class IApiListener;
|
||||||
class IApiRequest;
|
class IApiRequest;
|
||||||
class String;
|
class String;
|
||||||
@ -54,7 +54,7 @@ public:
|
|||||||
inline const char *workerId() const { return m_workerId; }
|
inline const char *workerId() const { return m_workerId; }
|
||||||
inline void addListener(IApiListener *listener) { m_listeners.push_back(listener); }
|
inline void addListener(IApiListener *listener) { m_listeners.push_back(listener); }
|
||||||
|
|
||||||
void request(const HttpRequest &req);
|
void request(const HttpData &req);
|
||||||
void start();
|
void start();
|
||||||
void stop();
|
void stop();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user