Skip to content

Commit

Permalink
Merged develop into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Warchant committed Jan 6, 2017
2 parents 6103029 + 170eadd commit 71b1ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/consensus/sumeragi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ namespace sumeragi {
// this returns std::future<void> object
// (std::future).get() method locks processing until result of processTransaction will be available
// but processTransaction returns void, so we don't have to call it and wait
std::function<void()> &&task = std::bind(processTransaction, std::ref(event));
std::function<void()> &&task = std::bind(processTransaction, event);
pool.process(std::move(task));
});

Expand Down

0 comments on commit 71b1ea6

Please sign in to comment.