Skip to content
Snippets Groups Projects
Commit c382a7e4 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

account: fix parseInt template

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

Issue: #76374
Change-Id: I18509836d4dab2f14a650a3a6a420133fb201679
parent 83419a01
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ class Account : public Serializable, public std::enable_shared_from_this<Account ...@@ -294,7 +294,7 @@ class Account : public Serializable, public std::enable_shared_from_this<Account
template<class T> template<class T>
static inline void 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); const auto& iter = details.find(key);
if (iter == details.end()) { if (iter == details.end()) {
RING_ERR("Couldn't find key \"%s\"", key); RING_ERR("Couldn't find key \"%s\"", key);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment