Fixed MSYS build.
This commit is contained in:
parent
bbee212970
commit
d33c91684d
2 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ rapidjson::Value xmrig::Json::normalize(double value, bool zero)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool xmrig::Json::convertOffset(std::ifstream& ifs, size_t offset, size_t& line, size_t& pos, std::vector<std::string>& s)
|
bool xmrig::Json::convertOffset(std::istream& ifs, size_t offset, size_t& line, size_t& pos, std::vector<std::string>& s)
|
||||||
{
|
{
|
||||||
std::string prev_t;
|
std::string prev_t;
|
||||||
std::string t;
|
std::string t;
|
||||||
|
|
|
@ -58,7 +58,7 @@ public:
|
||||||
static rapidjson::Value normalize(double value, bool zero);
|
static rapidjson::Value normalize(double value, bool zero);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static bool convertOffset(std::ifstream& ifs, size_t offset, size_t& line, size_t& pos, std::vector<std::string>& s);
|
static bool convertOffset(std::istream& ifs, size_t offset, size_t& line, size_t& pos, std::vector<std::string>& s);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue