Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Dec 29, 2024
1 parent 7e261f7 commit 0bd9b27
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions components/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,9 @@ set(SOURCE_FILES_unitTest
src/clp/streaming_archive/reader/Segment.hpp
src/clp/streaming_archive/reader/SegmentManager.cpp
src/clp/streaming_archive/reader/SegmentManager.hpp
src/clp/streaming_archive/single_file_archive/Defs.hpp
src/clp/streaming_archive/single_file_archive/writer.cpp
src/clp/streaming_archive/single_file_archive/writer.hpp
src/clp/streaming_archive/writer/Archive.cpp
src/clp/streaming_archive/writer/Archive.hpp
src/clp/streaming_archive/writer/File.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
#include <cstring>
#include <filesystem>
#include <sstream>
#include <vector>

#include <fmt/core.h>
#include <msgpack.hpp>
#include <spdlog.h>

#include "../../Defs.h"
#include "../../ErrorCode.hpp"
#include "../../FileReader.hpp"
#include "../../FileWriter.hpp"
#include "../../TraceableException.hpp"
#include "../ArchiveMetadata.hpp"
Expand Down Expand Up @@ -254,11 +256,11 @@ auto create_single_file_archive_metadata(
return pack_single_file_archive_metadata(multi_file_archive_metadata, file_infos, segment_ids);
}

void write_single_file_archive(
auto write_single_file_archive(
std::filesystem::path const& multi_file_archive_path,
std::stringstream const& packed_metadata,
std::vector<std::string> const& segment_ids
) {
) -> void {
FileWriter archive_writer;
std::filesystem::path single_file_archive_path
= multi_file_archive_path.string()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ auto create_single_file_archive_metadata(
* @param segment_ids
* @throws OperationFailed if single-file archive path already exists.
*/
void write_single_file_archive(
auto write_single_file_archive(
std::filesystem::path const& multi_file_archive_path,
std::stringstream const& packed_metadata,
std::vector<std::string> const& segment_ids
);
) -> void;

} // namespace clp::streaming_archive::single_file_archive

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <log_surgeon/LogParser.hpp>
#include <spdlog.h>

#include "../../Defs.h"
#include "../../EncodedVariableInterpreter.hpp"
#include "../../ir/types.hpp"
#include "../../spdlog_with_specializations.hpp"
Expand Down

0 comments on commit 0bd9b27

Please sign in to comment.