Commit c382a7e4 authored by Guillaume Roguez's avatar Guillaume Roguez

account: fix parseInt template

Incorrect template function prototype.
Error introduced by commit 8700cae2.

Issue: #76374
Change-Id: I18509836d4dab2f14a650a3a6a420133fb201679
parent 83419a01
......@@ -294,7 +294,7 @@ class Account : public Serializable, public std::enable_shared_from_this<Account
template<class T>
static inline void
parseInt(const std::map<std::string, std::string>& details, const char* key, T i) {
parseInt(const std::map<std::string, std::string>& details, const char* key, T& i) {
const auto& iter = details.find(key);
if (iter == details.end()) {
RING_ERR("Couldn't find key \"%s\"", key);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment