mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 16:33:32 -05:00
Remove code duplication.
This commit is contained in:
@@ -191,7 +191,7 @@ rapidjson::Value xmrig::Json::normalize(double value, bool zero)
|
||||
}
|
||||
|
||||
|
||||
bool xmrig::Json::convertOffset(std::istream& 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;
|
||||
|
||||
Reference in New Issue
Block a user