mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
Prefer a const reference instead of shared_ptr if the shared_ptr is not used and argument type is not changed in the method. This allows to prevent useless shared_ptr allocations. In getRealPrefix, use OpState to track state instead of using many different shared_ptr.