From eb63bfad42dfeb2829116961db136f55b9ac5972 Mon Sep 17 00:00:00 2001 From: Guillaume Sarthou Date: Wed, 26 Jun 2024 22:02:23 +0200 Subject: [PATCH] [OccasionsManager] fix conversion --- src/core/Occasions/OccasionsManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Occasions/OccasionsManager.cpp b/src/core/Occasions/OccasionsManager.cpp index 381960f..6b4dbea 100644 --- a/src/core/Occasions/OccasionsManager.cpp +++ b/src/core/Occasions/OccasionsManager.cpp @@ -55,7 +55,7 @@ namespace mementar { msg.data = triplet.toString(); msg.last = subscription_.isFinished(id); if(msg.last) - subscription_.unsubscribe(id); + subscription_.unsubscribe((int)id); pub_.publish(msg); } }