mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 18:47:36 -07:00
miner: fix build with boost 1.69
This commit is contained in:
parent
2287fb9fb4
commit
3bb4b0d41f
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user