mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-08 21:38:53 +00:00
miner: fix build with boost 1.69
This commit is contained in:
parent
56b6e9a89f
commit
32745e0696
@ -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