From 5325b647b442c7e67660d32730efe7b7ad85290e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20LE=20STUM?=
 <sebastien.le-stum@savoirfairelinux.com>
Date: Wed, 30 Sep 2020 15:52:02 -0400
Subject: [PATCH] manager: fix return value for accountCount from bool to
 std::size_t

This value is used in getAccountList() to reserve the size of the final
vector that will group all the account pointers.

Change-Id: Id2b0ae149b08b7962123d9e7533fe3c34e8d4750
---
 src/manager.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/manager.h b/src/manager.h
index 5296c47c98..e0417d751e 100644
--- a/src/manager.h
+++ b/src/manager.h
@@ -838,7 +838,7 @@ public:
     }
 
     template<class T = Account>
-    bool accountCount() const
+    std::size_t accountCount() const
     {
         return accountFactory.accountCount<T>();
     }
-- 
GitLab