From 240b8f97ec4e1ec9c043f5653c7e655e8e0d6388 Mon Sep 17 00:00:00 2001 From: Jason Marechal Date: Mon, 3 Jun 2024 12:12:03 +0200 Subject: [PATCH] Fix build --- .../solver/optimisation/HebdoProblemToLpsTranslator.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/solver/optimisation/include/antares/solver/optimisation/HebdoProblemToLpsTranslator.h b/src/solver/optimisation/include/antares/solver/optimisation/HebdoProblemToLpsTranslator.h index 413cbb3b98..7deb23a0ca 100644 --- a/src/solver/optimisation/include/antares/solver/optimisation/HebdoProblemToLpsTranslator.h +++ b/src/solver/optimisation/include/antares/solver/optimisation/HebdoProblemToLpsTranslator.h @@ -22,9 +22,8 @@ #pragma once -#include "antares/solver/simulation/sim_structure_probleme_economique.h" #include "antares/solver/lps/LpsFromAntares.h" -#include "opt_period_string_generator_base.h" +#include "antares/solver/simulation/sim_structure_probleme_economique.h" namespace Antares::Solver { @@ -36,7 +35,7 @@ namespace Antares::Solver * This class is a custom exception class that is thrown when an error occurs during the translation * of a weekly problem. */ -class WeeklyProblemTranslationException : public std::runtime_error +class WeeklyProblemTranslationException: public std::runtime_error { public: explicit WeeklyProblemTranslationException(const std::string& string) noexcept; @@ -64,7 +63,7 @@ class HebdoProblemToLpsTranslator * @return WeeklyDataFromAntaresPtr A WeeklyDataFromAntaresPtr to the translated problem. */ [[nodiscard]] WeeklyDataFromAntares translate(const PROBLEME_ANTARES_A_RESOUDRE* problem, - std::string_view name) const; + std::string_view name) const; /** * @brief Retrieves common problem data, the part common to every weekly problems