From 01ec0cbf05a1437e7924519e4ca6e8294b9867f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Tue, 25 May 2021 09:46:06 +0200 Subject: [PATCH] reputting spaces --- lib/wal/sources/Models/Callback.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wal/sources/Models/Callback.hpp b/lib/wal/sources/Models/Callback.hpp index b43ebfb0..26dbe575 100644 --- a/lib/wal/sources/Models/Callback.hpp +++ b/lib/wal/sources/Models/Callback.hpp @@ -18,13 +18,13 @@ namespace WAL private: int _nextID = 0; //! @brief The list of functions to call. - std::unordered_map> _functions = {}; + std::unordered_map> _functions = {}; public: //! @brief Add a method to be called when this callback is invoked. //! @param callback The list of arguments of the callback method //! @return A unique ID for this callback. That can be used to remove the callback later. - int addCallback(std::function callback) + int addCallback(std::function callback) { int id = this->_nextID++; this->_functions[id] = std::move(callback);