diff --git a/src/wrappers/themis/themispp/secure_keygen.hpp b/src/wrappers/themis/themispp/secure_keygen.hpp index 78379c6a7..660a7bd30 100644 --- a/src/wrappers/themis/themispp/secure_keygen.hpp +++ b/src/wrappers/themis/themispp/secure_keygen.hpp @@ -140,7 +140,7 @@ inline bool is_public_key(const std::vector& key) * If the vector does not have enough space for a good key then * it will be resized. Otherwise no reallocations are performed. */ -void gen_sym_key(std::vector& key) +inline void gen_sym_key(std::vector& key) { if (key.empty()) { size_t key_length = 0; @@ -165,7 +165,7 @@ void gen_sym_key(std::vector& key) * * @returns a newly allocated key of default size. */ -std::vector gen_sym_key() +inline std::vector gen_sym_key() { std::vector key; gen_sym_key(key);