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> | 2018-10-22 22:17:15 +0000 |
commit | 3bb4b0d41f76483c4ae4d8d62faa4531049badeb (patch) | |
tree | 33ddc675eb0aa47fe335bb5bfb5fc7cbefbaf3b5 /src | |
parent | Merge pull request #4524 (diff) | |
download | monero-3bb4b0d41f76483c4ae4d8d62faa4531049badeb.tar.xz |
miner: fix build with boost 1.69
Diffstat (limited to 'src')
-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; } } |