mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
eliminate extra copy
This commit is contained in:
parent
96d961c393
commit
d40a029dae
|
@ -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…
Reference in a new issue