mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-22 02:34:58 +00:00
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 t;
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue