Fixed compile issues
This commit is contained in:
parent
b6fc43b8a4
commit
4f606644fe
4 changed files with 10 additions and 17 deletions
|
@ -25,9 +25,8 @@
|
|||
#ifndef __CLIENTSTATUS_H__
|
||||
#define __CLIENTSTATUS_H__
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <3rdparty/jansson/jansson.h>
|
||||
#include "rapidjson/document.h"
|
||||
|
||||
class ClientStatus
|
||||
{
|
||||
|
@ -66,7 +65,7 @@ public:
|
|||
void setLastStatusUpdate(uint32_t lastStatusUpdate);
|
||||
|
||||
std::string toJson();
|
||||
void parseFromJson(const json_t& json);
|
||||
void parseFromJson(const rapidjson::Document &doc);
|
||||
|
||||
private:
|
||||
std::string miner;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue