From 9c87b88e96858ed64433b064b07918e8e8f35eb5 Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Tue, 15 Oct 2024 11:53:20 +0200 Subject: [PATCH] Revert "format" This reverts commit 4b96d271da1376d0fdf2714a6159ace7ee1674fd. --- src/libs/antares/paths/list.cpp | 2 +- src/libs/antares/study/load.cpp | 2 +- src/libs/antares/study/output.cpp | 5 +++-- src/libs/antares/study/study.cpp | 2 +- src/libs/antares/study/study.extra.cpp | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/libs/antares/paths/list.cpp b/src/libs/antares/paths/list.cpp index fe54278866..b52c053f21 100644 --- a/src/libs/antares/paths/list.cpp +++ b/src/libs/antares/paths/list.cpp @@ -53,7 +53,7 @@ size_t PathList::totalSizeInBytes() const return size; } -[[deprecated("remove with GUI")]] +[[ deprecated ("remove with GUI") ]] uint PathList::internalDeleteAllEmptyFolders() { if (!pTmp || item.empty()) diff --git a/src/libs/antares/study/load.cpp b/src/libs/antares/study/load.cpp index 4bbadf9770..22dd263f51 100644 --- a/src/libs/antares/study/load.cpp +++ b/src/libs/antares/study/load.cpp @@ -305,7 +305,7 @@ void Study::reloadCorrelation() internalLoadCorrelationMatrices(options); } -[[deprecated("remove with GUI")]] +[[ deprecated ("remove with GUI") ]] bool Study::reloadXCastData() { // if changes are required, please update AreaListLoadFromFolderSingleArea() diff --git a/src/libs/antares/study/output.cpp b/src/libs/antares/study/output.cpp index db2817cab0..c2cc3d7d29 100644 --- a/src/libs/antares/study/output.cpp +++ b/src/libs/antares/study/output.cpp @@ -36,7 +36,8 @@ namespace Antares::Data namespace // anonymous { -[[deprecated("remove with GUI")]] class OutputFolderIterator: public IO::Directory::IIterator +[[ deprecated ("remove with GUI") ]] +class OutputFolderIterator: public IO::Directory::IIterator { public: using IteratorType = IO::Directory::IIterator; @@ -190,7 +191,7 @@ bool Output::loadFromFolder(const AnyString& folder) return true; } -[[deprecated("remove with GUI")]] +[[ deprecated ("remove with GUI") ]] void Output::RetrieveListFromStudy(List& out, const Study& study) { out.clear(); diff --git a/src/libs/antares/study/study.cpp b/src/libs/antares/study/study.cpp index ce6d91ae55..dca8132b77 100644 --- a/src/libs/antares/study/study.cpp +++ b/src/libs/antares/study/study.cpp @@ -1194,7 +1194,7 @@ void Study::resizeAllTimeseriesNumbers(uint n) bindingConstraintsGroups.resizeAllTimeseriesNumbers(n); } -[[deprecated("remove with GUI")]] +[[ deprecated ("remove with GUI") ]] bool Study::checkForFilenameLimits(bool output, const String& chfolder) const { enum diff --git a/src/libs/antares/study/study.extra.cpp b/src/libs/antares/study/study.extra.cpp index b6f61bda52..3bcba7e040 100644 --- a/src/libs/antares/study/study.extra.cpp +++ b/src/libs/antares/study/study.extra.cpp @@ -82,7 +82,7 @@ bool Study::modifyAreaNameIfAlreadyTaken(AreaName& out, const AreaName& basename return true; } -[[deprecated("remove with GUI")]] +[[ deprecated ("remove with GUI") ]] bool Study::TitleFromStudyFolder(const AnyString& folder, String& out, bool warnings) { String b;