lokinet/llarp/net
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
..
address_info.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
address_info.hpp Refactor Addr -> IpAddress/SockAddr 2020-05-06 14:38:44 -06:00
exit_info.cpp Removed RPI definition 2020-05-17 21:28:25 -03:00
exit_info.hpp fix up unit tests, make them all pass 2020-05-15 08:38:04 -04:00
ip_address.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
ip_address.hpp Hard code RPC's expectedHostname to 'localhost' 2020-05-11 09:47:26 -06:00
ip_packet.cpp Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
ip_packet.hpp Untangle some interdependencies 2020-05-20 19:18:28 -03:00
ip_range_map.hpp Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
ip_range.cpp Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
ip_range.hpp Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
ip.cpp Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
ip.hpp Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
net_if.hpp 32-bit linux patches 2020-02-25 15:48:07 -06:00
net_int.cpp Move IPRange out of net.hpp; free up TruncateV6 etc. 2020-05-20 19:18:27 -03:00
net_int.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
net.cpp IsIPv4Bogon: constexpr array instead of a function-local static vector 2020-05-20 19:18:27 -03:00
net.h sun fix 2019-08-27 06:53:08 -05:00
net.hpp Avoid reserved __identifiers 2020-05-20 19:18:28 -03:00
sock_addr.cpp fix sockaddr win32 and collapse headers on the unix side 2020-05-18 15:13:45 -05:00
sock_addr.hpp fix sockaddr win32 and collapse headers on the unix side 2020-05-18 15:13:45 -05:00
uint128.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00