diff --git a/include/aidge/operator/ConstantOfShape.hpp b/include/aidge/operator/ConstantOfShape.hpp
index 6176f69dd9e2595793ab787eb1fb2fba3765d085..e78fba12ec89be456da0aca25c9bb15e170bdede 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