Merge pull request #4700

3bb4b0d4 miner: fix build with boost 1.69 (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-10-26 22:41:21 +02:00
commit 20d3605a54
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

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;
} }
} }