aboutsummaryrefslogtreecommitdiff
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>2018-10-22 22:17:15 +0000
commit3bb4b0d41f76483c4ae4d8d62faa4531049badeb (patch)
tree33ddc675eb0aa47fe335bb5bfb5fc7cbefbaf3b5
parentMerge pull request #4524 (diff)
downloadmonero-3bb4b0d41f76483c4ae4d8d62faa4531049badeb.tar.xz
miner: fix build with boost 1.69
-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 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;
}
}