blob: ba9af9b4de7b007a2307461cde96bef095a70625 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
https://github.com/monero-project/monero/issues/4695
--- src/cryptonote_basic/miner.cpp.orig 2018-10-09 21:04:07 UTC
+++ src/cryptonote_basic/miner.cpp
@@ -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};
}
}
|