diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-27 11:14:38 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-27 11:40:40 +0200 |
commit | bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5 (patch) | |
tree | 4556b3f5f5898ef56316fc1612a04402b79903ef /src/utils/archive/archive_ops.cpp | |
parent | 340f3478dc2bffe1a75496e5c120e88274fee698 (diff) | |
download | justbuild-bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5.tar.gz |
Reformat code to comply with clang-format 18
... while keeping our .clang-format file.
Diffstat (limited to 'src/utils/archive/archive_ops.cpp')
-rw-r--r-- | src/utils/archive/archive_ops.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/archive/archive_ops.cpp b/src/utils/archive/archive_ops.cpp index 59b1d8a0..8e70c814 100644 --- a/src/utils/archive/archive_ops.cpp +++ b/src/utils/archive/archive_ops.cpp @@ -95,8 +95,8 @@ auto enable_read_filter(archive* ar, ArchiveType type) -> bool { } // namespace #endif // BOOTSTRAP_BUILD_TOOL -auto ArchiveOps::WriteEntry(archive_entry* entry, archive* aw) - -> std::optional<std::string> { +auto ArchiveOps::WriteEntry(archive_entry* entry, + archive* aw) -> std::optional<std::string> { #ifndef BOOTSTRAP_BUILD_TOOL std::filesystem::path entry_path{archive_entry_sourcepath(entry)}; // only write to archive if entry is file @@ -115,8 +115,8 @@ auto ArchiveOps::WriteEntry(archive_entry* entry, archive* aw) return std::nullopt; } -auto ArchiveOps::CopyData(archive* ar, archive* aw) - -> std::optional<std::string> { +auto ArchiveOps::CopyData(archive* ar, + archive* aw) -> std::optional<std::string> { #ifndef BOOTSTRAP_BUILD_TOOL int r{}; const void* buff{nullptr}; |