eliminate extra copy

This commit is contained in:
orignal 2019-02-20 12:36:05 -05:00
parent 96d961c393
commit d40a029dae

View file

@ -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: