diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-10-22 22:17:15 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-17 10:52:54 +0000 |
commit | be2d061b94f53abdc90ffadf7775404362cd4493 (patch) | |
tree | 6330d9bf0d63724b8335a854e5a4acb57ea68b84 /src/cryptonote_basic/miner.cpp | |
parent | mlocker: fix access to global lock map after dtor on exit (diff) | |
download | monero-be2d061b94f53abdc90ffadf7775404362cd4493.tar.xz |
miner: fix build with boost 1.69
Diffstat (limited to '')
-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 2bd43de94..fb373c6aa 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; } } |