From dc0436260bdf327bcefadb3ffb45cf2dd932326d Mon Sep 17 00:00:00 2001
From: Stephane Del Pino <stephane.delpino44@gmail.com>
Date: Mon, 6 Mar 2023 21:32:33 +0100
Subject: [PATCH] Fix compilation issue (clang-10)

It is related with the implementation of std::vector<bool>, thus
appears possibly according to the standard C++ library implementation.
---
 src/language/node_processor/AffectationProcessor.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/language/node_processor/AffectationProcessor.hpp b/src/language/node_processor/AffectationProcessor.hpp
index e28c8044b..4aaace91a 100644
--- a/src/language/node_processor/AffectationProcessor.hpp
+++ b/src/language/node_processor/AffectationProcessor.hpp
@@ -582,7 +582,7 @@ class AffectationFromTupleProcessor final : public AffectationToDataVariantProce
                                     std::is_same_v<ValueT, TinyMatrix<1>>)and(std::is_arithmetic_v<TupleContentType>)) {
                 *m_lhs = std::move(ValueT(v[0]));
               } else if constexpr (std::is_same_v<std::string, ValueT>) {
-                *m_lhs = std::move(stringify(v[0]));
+                *m_lhs = std::move(stringify(static_cast<TupleContentType>(v[0])));
               } else {
                 // LCOV_EXCL_START
                 throw UnexpectedError("unexpected rhs tuple content");
-- 
GitLab