From e1c18787430b045cfeb6bbbe1d5b53af9e09963a Mon Sep 17 00:00:00 2001
From: Grigoris Pavlakis <grigpavl@ece.auth.gr>
Date: Sat, 5 Jan 2019 20:58:00 +0200
Subject: [PATCH] Fix missing inheritance from the Service class

---
 inc/Services/FunctionManagementService.hpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/inc/Services/FunctionManagementService.hpp b/inc/Services/FunctionManagementService.hpp
index 3060989f..012f1df1 100644
--- a/inc/Services/FunctionManagementService.hpp
+++ b/inc/Services/FunctionManagementService.hpp
@@ -9,6 +9,7 @@
 #include "etl/map.h"
 #include "etl/String.hpp"
 #include "Message.hpp"
+#include "Service.hpp"
 
 #define FUNCMAPSIZE        128     // size of the function map in bytes (temporary, arbitrary)
 #define MAXFUNCNAMELENGTH  32      // max length of the function name (temporary, arbitrary)
@@ -40,7 +41,7 @@ typedef String<MAXFUNCNAMELENGTH> functionName;
 typedef etl::map<functionName, void(*)(String<MAXARGLENGTH>), FUNCMAPSIZE>
 PointerMap;
 
-class FunctionManagementService {
+class FunctionManagementService : public Service {
 	/**
 	 * Map of the function names to their respective pointers. Size controlled by FUNCMAPSIZE
 	 */
-- 
GitLab