Skip to content

Commit

Permalink
Fix to compile on linux/osx
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfy committed Sep 8, 2017
1 parent 861e533 commit fbfd4dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libethcore/Farm.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class Farm: public FarmFace
p_hashrateTimer = nullptr;
}

void Farm::collectHashRate()
void collectHashRate()
{
WorkingProgress p;
Guard l2(x_minerWork);
Expand Down Expand Up @@ -184,7 +184,7 @@ class Farm: public FarmFace
}
}

void Farm::processHashRate(const boost::system::error_code& ec) {
void processHashRate(const boost::system::error_code& ec) {

if (!ec) {
collectHashRate();
Expand Down Expand Up @@ -231,7 +231,7 @@ class Farm: public FarmFace
for (auto const& cp : m_lastProgresses) {
p.ms += cp.ms;
p.hashes += cp.hashes;
for (int i = 0; i < cp.minersHashes.size(); i++)
for (unsigned int i = 0; i < cp.minersHashes.size(); i++)
{
p.minersHashes.at(i) += cp.minersHashes.at(i);
}
Expand Down

0 comments on commit fbfd4dd

Please sign in to comment.