Browse Source

eliminate extra copy

pull/1301/head
orignal 6 years ago
parent
commit
d40a029dae
  1. 2
      libi2pd/Identity.h

2
libi2pd/Identity.h

@ -165,7 +165,7 @@ namespace data @@ -165,7 +165,7 @@ namespace data
// offline keys
PrivateKeys CreateOfflineKeys (SigningKeyType type, uint32_t expires) const;
const std::vector<uint8_t> GetOfflineSignature () const { return m_OfflineSignature; };
const std::vector<uint8_t>& GetOfflineSignature () const { return m_OfflineSignature; };
private:

Loading…
Cancel
Save