mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Fixed MSYS build.
This commit is contained in:
@@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user