From c382a7e437854e37a51aede45d8f162ec401f890 Mon Sep 17 00:00:00 2001 From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> Date: Wed, 22 Jul 2015 15:59:26 -0400 Subject: [PATCH] account: fix parseInt template Incorrect template function prototype. Error introduced by commit 8700cae21a6. Issue: #76374 Change-Id: I18509836d4dab2f14a650a3a6a420133fb201679 --- src/account.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account.h b/src/account.h index 4ad1847d00..bb632b4a92 100644 --- a/src/account.h +++ b/src/account.h @@ -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); -- GitLab