From c4831e4a3908f7087a57831176575944d225909e Mon Sep 17 00:00:00 2001 From: cmoineau <cyril.moineau@cea.fr> Date: Thu, 20 Feb 2025 08:31:35 +0000 Subject: [PATCH] Fix ConstantOfShape compilation for clang. --- include/aidge/operator/ConstantOfShape.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/aidge/operator/ConstantOfShape.hpp b/include/aidge/operator/ConstantOfShape.hpp index 6176f69dd..e78fba12e 100644 --- a/include/aidge/operator/ConstantOfShape.hpp +++ b/include/aidge/operator/ConstantOfShape.hpp @@ -39,12 +39,13 @@ enum class ConstantOfShapeAttr { */ Value, }; - +} // namespace Aidge namespace { template <> const char *const EnumStrings<Aidge::ConstantOfShapeAttr>::data[] = {"value"}; - } - + } //namespace + + namespace Aidge { /** * @brief This operator's purpose is to generate a tensor of shape given via -- GitLab