Fixed MSYS build.

This commit is contained in:
XMRig 2020-04-29 16:29:30 +07:00
parent bbee212970
commit d33c91684d
No known key found for this signature in database
GPG key ID: 446A53638BE94409
2 changed files with 2 additions and 2 deletions

View file

@ -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 t;

View file

@ -58,7 +58,7 @@ public:
static rapidjson::Value normalize(double value, bool zero);
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);
};