diff --git a/src/libs/antares/writer/include/antares/writer/i_writer.h b/src/libs/antares/writer/include/antares/writer/i_writer.h index 143f725898..473ae6daa4 100644 --- a/src/libs/antares/writer/include/antares/writer/i_writer.h +++ b/src/libs/antares/writer/include/antares/writer/i_writer.h @@ -35,7 +35,9 @@ class IResultWriter public: using Ptr = std::shared_ptr; virtual void addEntryFromBuffer(const std::string& entryPath, Yuni::Clob& entryContent) = 0; - virtual void addEntryFromBuffer(const std::filesystem::path& entryPath, std::string& entryContent) = 0; + virtual void addEntryFromBuffer(const std::filesystem::path& entryPath, + std::string& entryContent) + = 0; virtual void addEntryFromFile(const std::filesystem::path& entryPath, const std::filesystem::path& filePath) = 0; diff --git a/src/libs/antares/writer/include/antares/writer/in_memory_writer.h b/src/libs/antares/writer/include/antares/writer/in_memory_writer.h index 87330533ab..e5be52be24 100644 --- a/src/libs/antares/writer/include/antares/writer/in_memory_writer.h +++ b/src/libs/antares/writer/include/antares/writer/in_memory_writer.h @@ -38,7 +38,8 @@ class InMemoryWriter: public IResultWriter explicit InMemoryWriter(Benchmarking::DurationCollector& duration_collector); virtual ~InMemoryWriter(); void addEntryFromBuffer(const std::string& entryPath, Yuni::Clob& entryContent) override; - void addEntryFromBuffer(const std::filesystem::path& entryPath, std::string& entryContent) override; + void addEntryFromBuffer(const std::filesystem::path& entryPath, + std::string& entryContent) override; void addEntryFromFile(const std::filesystem::path& entryPath, const std::filesystem::path& filePath) override; void flush() override; diff --git a/src/libs/antares/writer/private/immediate_file_writer.h b/src/libs/antares/writer/private/immediate_file_writer.h index 4ef9246fe4..1c340ee066 100644 --- a/src/libs/antares/writer/private/immediate_file_writer.h +++ b/src/libs/antares/writer/private/immediate_file_writer.h @@ -36,7 +36,8 @@ class ImmediateFileResultWriter: public IResultWriter virtual ~ImmediateFileResultWriter(); // Write to file immediately, creating directories if needed void addEntryFromBuffer(const std::string& entryPath, Yuni::Clob& entryContent) override; - void addEntryFromBuffer(const std::filesystem::path& entryPath, std::string& entryContent) override; + void addEntryFromBuffer(const std::filesystem::path& entryPath, + std::string& entryContent) override; void addEntryFromFile(const std::filesystem::path& entryPath, const std::filesystem::path& filePath) override; void flush() override; diff --git a/src/libs/antares/writer/private/zip_writer.h b/src/libs/antares/writer/private/zip_writer.h index 36ae39f83e..948c3aaa04 100644 --- a/src/libs/antares/writer/private/zip_writer.h +++ b/src/libs/antares/writer/private/zip_writer.h @@ -82,7 +82,8 @@ class ZipWriter: public IResultWriter Benchmarking::DurationCollector& duration_collector); virtual ~ZipWriter(); void addEntryFromBuffer(const std::string& entryPath, Yuni::Clob& entryContent) override; - void addEntryFromBuffer(const std::filesystem::path& entryPath, std::string& entryContent) override; + void addEntryFromBuffer(const std::filesystem::path& entryPath, + std::string& entryContent) override; void addEntryFromFile(const std::filesystem::path& entryPath, const std::filesystem::path& filePath) override; void flush() override; @@ -109,7 +110,8 @@ class ZipWriter: public IResultWriter private: template - void addEntryFromBufferHelper(const std::filesystem::path& entryPath, ContentType& entryContent); + void addEntryFromBufferHelper(const std::filesystem::path& entryPath, + ContentType& entryContent); }; } // namespace Antares::Solver diff --git a/src/libs/antares/writer/private/zip_writer.hxx b/src/libs/antares/writer/private/zip_writer.hxx index 29550aa196..2bc13ff316 100644 --- a/src/libs/antares/writer/private/zip_writer.hxx +++ b/src/libs/antares/writer/private/zip_writer.hxx @@ -27,7 +27,8 @@ namespace Antares::Solver { template -void ZipWriter::addEntryFromBufferHelper(const std::filesystem::path& entryPath, ContentType& entryContent) +void ZipWriter::addEntryFromBufferHelper(const std::filesystem::path& entryPath, + ContentType& entryContent) { if (pState != ZipState::can_receive_data) {