lokinet/llarp
Jason Rhinelander ebd2142114 Don't use std::optional::value() because f u macos
This replaces all use of std::optional's `opt.value()` with `*opt`
because macOS is great and the ghost of Steve Jobs says that actually
supporting std::optional's value() method is not for chumps before macOS
10.14.  So don't use it because Apple is great.

Pretty much all of our use of it actually is done better with operator*
anyway (since operator* doesn't do a check that the optional has a
value).

Also replaced *most* of the `has_value()` calls with direct bool
context, except for one in the config section which looked really
confusing at a glance without a has_value().
2020-05-20 19:18:28 -03:00
..
android The Great Wall of Blame 2020-04-07 12:38:56 -06:00
config Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
consensus The Great Wall of Blame 2020-04-07 12:38:56 -06:00
constants Remove DEBIAN option 2020-05-17 21:29:05 -03:00
crypto Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
dht Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
dns Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
ev Move IPPacket header (part 1) 2020-05-20 19:18:27 -03:00
exit Untangle some interdependencies 2020-05-20 19:18:28 -03:00
handlers Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
hook The Great Wall of Blame 2020-04-07 12:38:56 -06:00
iwp make format 2020-05-15 09:07:28 -04:00
link Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
linux Removed RPI definition 2020-05-17 21:28:25 -03:00
messages Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
net Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
path Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
router Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
routing The Great Wall of Blame 2020-04-07 12:38:56 -06:00
rpc Silence various warnings 2020-05-17 21:28:17 -03:00
service Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
simulation The Great Wall of Blame 2020-04-07 12:38:56 -06:00
tooling unbreak router hive 2020-05-06 10:45:30 -04:00
util Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
win32 remove a ton of ded win32 code 2020-04-20 19:05:53 -05:00
CMakeLists.txt Untangle some interdependencies 2020-05-20 19:18:28 -03:00
app.xml stray tag ;-; 2018-12-24 22:39:34 -06:00
bootstrap.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
bootstrap.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
context.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
nodedb.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
nodedb.hpp Opportunistically move 'netdb' to 'nodedb' 2020-04-07 14:29:47 -06:00
pow.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
pow.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
profiling.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
profiling.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
router_contact.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
router_contact.hpp C++17 2020-05-01 17:43:27 -03:00
router_id.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
router_id.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
router_version.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
router_version.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
testnet.c prepare for 0.5.0 2019-08-29 07:45:58 -04:00