oxen-mq/oxenmq
Jason Rhinelander ace6ea9d8e
Avoid unnecessary nullptr assignment
We can just leave the dangling pointer value in the `run` object: even
though we just deleted it, there's no need to reset this value because
it will never be used again.  (And even if we did, we don't check
against nullptr anyway so having a nullptr here doesn't make anything
safter than a dangling pointer).

The assignment (into the variant) uses a small amount of CPU (via
std::variant), so better for performance to just leave it dangling.
2022-05-12 12:48:46 -03:00
..
address.cpp Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
address.h Add std::hash implementation for oxenmq::address 2021-11-28 10:26:35 -04:00
auth.cpp Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
auth.h Rename LokiMQ to OxenMQ 2021-01-14 15:32:38 -04:00
base32z.h Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
base64.h Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
batch.h Add simpler Job subclass of Batch for simple jobs 2022-05-12 12:20:51 -03:00
bt_producer.h Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
bt_serialize.h Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
bt_value.h Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
connections.cpp Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
connections.h Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
hex.h Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
jobs.cpp Use raw index bytes in worker router 2022-05-12 12:38:13 -03:00
message.h Rebrand variables LMQ -> OMQ 2021-11-30 14:10:47 -04:00
oxenmq-internal.h Use fixed array for known-small internal messages 2022-05-12 12:42:08 -03:00
oxenmq.cpp Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
oxenmq.h Add missing header 2022-05-12 12:48:15 -03:00
proxy.cpp Use fixed vector for idle workers 2022-05-12 12:44:54 -03:00
variant.h Use oxen-encoding and add compatibility shim headers 2022-01-18 10:30:23 -04:00
version.h.in Bump (and cmake-modernize) version 2021-04-15 15:15:44 -03:00
worker.cpp Avoid unnecessary nullptr assignment 2022-05-12 12:48:46 -03:00