diff --git a/src/solver/variable/include/antares/solver/variable/categories.h b/src/solver/variable/include/antares/solver/variable/categories.h index 2fdd858789..f8d1d90667 100644 --- a/src/solver/variable/include/antares/solver/variable/categories.h +++ b/src/solver/variable/include/antares/solver/variable/categories.h @@ -24,15 +24,7 @@ #include #include "constants.h" -namespace Antares -{ -namespace Solver -{ -namespace Variable -{ -namespace Category -{ -namespace DataLevel +namespace Antares::Solver::Variable::Category::DataLevel { //! Data that belong to a single area constexpr uint8_t area = 1; @@ -266,54 +258,6 @@ inline void PrecisionLevelToStream(StreamT& out, int precisionLevel) out += NULL; } } - -template -struct MaxRowCount -{ - enum - { - value = 0 - }; -}; - -template<> -struct MaxRowCount -{ - enum - { - value = maxHoursInAYear - }; -}; - -template<> -struct MaxRowCount -{ - enum - { - value = maxDaysInAYear - }; -}; - -template<> -struct MaxRowCount -{ - enum - { - value = maxWeeksInAYear - }; -}; - -template<> -struct MaxRowCount -{ - enum - { - value = MONTHS_PER_YEAR - }; -}; -} // namespace Category -} // namespace Variable -} // namespace Solver -} // namespace Antares +} // namespace Antares::Solver::Variable::Category::DataLevel #endif // __SOLVER_VARIABLE_CATEGORIES_H__