diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:41:21 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:41:21 +0200 |
commit | 20d3605a543199e3f9c58d93ac4eab6bf2406e2b (patch) | |
tree | ee24b9dda4ac256c64a6f0518658ff93e4c78a66 | |
parent | Merge pull request #4679 (diff) | |
parent | miner: fix build with boost 1.69 (diff) | |
download | monero-20d3605a543199e3f9c58d93ac4eab6bf2406e2b.tar.xz |
Merge pull request #4700
3bb4b0d4 miner: fix build with boost 1.69 (moneromooo-monero)
-rw-r--r-- | src/cryptonote_basic/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp index d0b03593e..d8ca2dd35 100644 --- a/src/cryptonote_basic/miner.cpp +++ b/src/cryptonote_basic/miner.cpp @@ -637,7 +637,7 @@ namespace cryptonote boost::tribool battery_powered(on_battery_power()); if(!indeterminate( battery_powered )) { - on_ac_power = !battery_powered; + on_ac_power = !(bool)battery_powered; } } |