mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 03:59:33 +00:00
miner: fix build with boost 1.69
This commit is contained in:
parent
1de62cb136
commit
be2d061b94
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue