aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/miner.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-22 22:17:15 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-17 10:52:54 +0000
commitbe2d061b94f53abdc90ffadf7775404362cd4493 (patch)
tree6330d9bf0d63724b8335a854e5a4acb57ea68b84 /src/cryptonote_basic/miner.cpp
parentmlocker: fix access to global lock map after dtor on exit (diff)
downloadmonero-be2d061b94f53abdc90ffadf7775404362cd4493.tar.xz
miner: fix build with boost 1.69
Diffstat (limited to '')
-rw-r--r--src/cryptonote_basic/miner.cpp2
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;
}
}