From 35922a96c4bd53e6f97019aa649642b448681563 Mon Sep 17 00:00:00 2001 From: Luca Terracciano Date: Mon, 6 Oct 2025 12:36:48 +0200 Subject: [PATCH] fix: fix exception message in pthread compute manager --- include/hicr/backends/pthreads/computeManager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hicr/backends/pthreads/computeManager.hpp b/include/hicr/backends/pthreads/computeManager.hpp index fa2df226..e4ae4c4b 100644 --- a/include/hicr/backends/pthreads/computeManager.hpp +++ b/include/hicr/backends/pthreads/computeManager.hpp @@ -144,7 +144,7 @@ class ComputeManager : public HiCR::ComputeManager auto p = dynamic_cast(processingUnit.get()); // If the processing unit is not recognized, throw error. We can use the processing unit's type (string) now. - if (p == nullptr) HICR_THROW_LOGIC("This compute manager cannot handle processing units of type '%s'", processingUnit->getType()); + if (p == nullptr) HICR_THROW_LOGIC("This compute manager cannot handle processing units of type '%s'", processingUnit->getType().c_str()); // Returning converted pointer return p;