From 963cbead88b02d7f5c7f00301ba945ca1065e84b Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Wed, 11 Dec 2024 15:45:17 +0100 Subject: [PATCH] rename library.h into system.h --- .../include/antares/solver/systemConverter/systemConverter.h | 1 - src/solver/systemParser/CMakeLists.txt | 1 + src/solver/systemParser/encoders.hxx | 2 +- .../include/antares/solver/systemParser/parser.h | 5 +---- .../antares/solver/systemParser/{library.h => system.h} | 0 src/solver/systemParser/parser.cpp | 2 +- 6 files changed, 4 insertions(+), 7 deletions(-) rename src/solver/systemParser/include/antares/solver/systemParser/{library.h => system.h} (100%) diff --git a/src/solver/systemConverter/include/antares/solver/systemConverter/systemConverter.h b/src/solver/systemConverter/include/antares/solver/systemConverter/systemConverter.h index 4191cbb44e..99c7d65e4e 100644 --- a/src/solver/systemConverter/include/antares/solver/systemConverter/systemConverter.h +++ b/src/solver/systemConverter/include/antares/solver/systemConverter/systemConverter.h @@ -20,7 +20,6 @@ */ #pragma once -#include #include "antares/solver/systemParser/library.h" diff --git a/src/solver/systemParser/CMakeLists.txt b/src/solver/systemParser/CMakeLists.txt index e48912f901..38cbdec163 100644 --- a/src/solver/systemParser/CMakeLists.txt +++ b/src/solver/systemParser/CMakeLists.txt @@ -4,6 +4,7 @@ set(SOURCES parser.cpp encoders.hxx include/antares/solver/systemParser/parser.h + include/antares/solver/systemParser/system.h ) # Create the library diff --git a/src/solver/systemParser/encoders.hxx b/src/solver/systemParser/encoders.hxx index afcdd40421..f717c18ee0 100644 --- a/src/solver/systemParser/encoders.hxx +++ b/src/solver/systemParser/encoders.hxx @@ -21,7 +21,7 @@ #pragma once -#include "antares/solver/systemParser/library.h" +#include "antares/solver/systemParser/system.h" #include "yaml-cpp/yaml.h" diff --git a/src/solver/systemParser/include/antares/solver/systemParser/parser.h b/src/solver/systemParser/include/antares/solver/systemParser/parser.h index bf9f97564f..94aad258be 100644 --- a/src/solver/systemParser/include/antares/solver/systemParser/parser.h +++ b/src/solver/systemParser/include/antares/solver/systemParser/parser.h @@ -20,16 +20,13 @@ */ #pragma once -#include "antares/solver/systemParser/library.h" +#include "antares/solver/systemParser/system.h" namespace Antares::Solver::SystemParser { class Parser { public: - Parser() = default; - ~Parser() = default; - System parse(const std::string& content); }; } // namespace Antares::Solver::SystemParser diff --git a/src/solver/systemParser/include/antares/solver/systemParser/library.h b/src/solver/systemParser/include/antares/solver/systemParser/system.h similarity index 100% rename from src/solver/systemParser/include/antares/solver/systemParser/library.h rename to src/solver/systemParser/include/antares/solver/systemParser/system.h diff --git a/src/solver/systemParser/parser.cpp b/src/solver/systemParser/parser.cpp index c29cb8837c..76f7fa15d5 100644 --- a/src/solver/systemParser/parser.cpp +++ b/src/solver/systemParser/parser.cpp @@ -21,7 +21,7 @@ #include "antares/solver/systemParser/parser.h" -#include "antares/solver/systemParser/library.h" +#include "antares/solver/systemParser/system.h" #include "encoders.hxx"