lokinet/llarp/dht
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
..
messages Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
bucket.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
context.cpp Silence various warnings 2020-05-17 21:28:17 -03:00
context.hpp C++17 2020-05-01 17:43:27 -03:00
dht.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
dht.h The Great Wall of Blame 2020-04-07 12:38:56 -06:00
explorenetworkjob.cpp unscrew travis-ci (#1223) 2020-04-18 16:58:41 -03:00
explorenetworkjob.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
kademlia.hpp Refactor DHT introset lookups to use redundant lookup strategy 2020-02-14 17:43:13 -04:00
key.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
localrouterlookup.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
localrouterlookup.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
localserviceaddresslookup.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
localserviceaddresslookup.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
localtaglookup.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
localtaglookup.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
message.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
message.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
node.hpp initial dht key blinding 2020-01-27 16:30:41 -05:00
publishservicejob.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
publishservicejob.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
recursiverouterlookup.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
recursiverouterlookup.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
serviceaddresslookup.cpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
serviceaddresslookup.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
taglookup.cpp Don't use std::optional::value() because f u macos 2020-05-20 19:18:28 -03:00
taglookup.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
tx.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
txholder.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00
txowner.hpp The Great Wall of Blame 2020-04-07 12:38:56 -06:00