lokinet/llarp/service
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.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
address.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
async_key_exchange.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
async_key_exchange.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
context.cpp keyfile was being initialized before being set by configure call. 2020-05-14 13:45:27 -04:00
context.hpp Refactor TunEndpoint::Configure() (partially) 2020-05-04 11:07:21 -04:00
endpoint_state.cpp Move all [endpoint] options to [network] 2020-05-04 11:07:21 -04:00
endpoint_state.hpp Move all [endpoint] options to [network] 2020-05-04 11:07:21 -04:00
endpoint_types.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
endpoint_util.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
endpoint_util.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
endpoint.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
endpoint.hpp Silence various warnings 2020-05-17 21:28:17 -03:00
handler.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
hidden_service_address_lookup.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
hidden_service_address_lookup.hpp C++17 2020-05-01 17:43:27 -03:00
identity.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
identity.hpp C++17 2020-05-01 17:43:27 -03:00
info.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
info.hpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
intro_set.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
intro_set.hpp C++17 2020-05-01 17:43:27 -03:00
intro.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
intro.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
lookup.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
lookup.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
outbound_context.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
outbound_context.hpp C++17 2020-05-01 17:43:27 -03:00
pendingbuffer.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
protocol_type.hpp Untangle some interdependencies 2020-05-20 19:18:28 -03:00
protocol.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
protocol.hpp Untangle some interdependencies 2020-05-20 19:18:28 -03:00
router_lookup_job.cpp clang-tidy modernize pass 2019-08-12 16:52:58 +01:00
router_lookup_job.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
sendcontext.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
sendcontext.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
session.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
session.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
tag_lookup_job.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
tag_lookup_job.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
tag.cpp Remove data() conversions from llarp::AlignedBuffer 2019-01-02 01:03:53 +00:00
tag.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
vanity.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00