summaryrefslogtreecommitdiffstats
path: root/executor.cpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-04-10 17:23:02 +0100
committerGitHub <noreply@github.com>2017-04-10 17:23:02 +0100
commita01ce971c81253de59f2b7cc0c6f1a5dcdd395b8 (patch)
treecda39f80fe5ba133dcba7718df2b7a5bb6d016bb /executor.cpp
parent00568d05e383ad14fee881539f171e00b10adf46 (diff)
parenteba4b7b5c91a2351e09b19331bda74e8814d34b4 (diff)
downloadxmr-stak-a01ce971c81253de59f2b7cc0c6f1a5dcdd395b8.zip
xmr-stak-a01ce971c81253de59f2b7cc0c6f1a5dcdd395b8.tar.gz
Merge pull request #66 from esfomeado/master
Fix fp leak and use pre-increment
Diffstat (limited to 'executor.cpp')
-rw-r--r--executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor.cpp b/executor.cpp
index af10811..8f5a2a9 100644
--- a/executor.cpp
+++ b/executor.cpp
@@ -83,7 +83,7 @@ void executor::ex_clock_thd()
ev = lTimedEvents.erase(ev);
}
else
- ev++;
+ ++ev;
}
lck.unlock();
OpenPOWER on IntegriCloud