miner: fix build with boost 1.69

This commit is contained in:
moneromooo-monero 2018-10-22 22:17:15 +00:00
parent 1de62cb136
commit be2d061b94
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -637,7 +637,7 @@ namespace cryptonote
boost::tribool battery_powered(on_battery_power()); boost::tribool battery_powered(on_battery_power());
if(!indeterminate( battery_powered )) if(!indeterminate( battery_powered ))
{ {
on_ac_power = !battery_powered; on_ac_power = !(bool)battery_powered;
} }
} }