From bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 27 Aug 2024 11:14:38 +0200 Subject: Reformat code to comply with clang-format 18 ... while keeping our .clang-format file. --- src/buildtool/crypto/hash_function.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/buildtool/crypto/hash_function.cpp') diff --git a/src/buildtool/crypto/hash_function.cpp b/src/buildtool/crypto/hash_function.cpp index 6f240e50..4be9033d 100644 --- a/src/buildtool/crypto/hash_function.cpp +++ b/src/buildtool/crypto/hash_function.cpp @@ -57,15 +57,13 @@ auto HashFunction::HashTaggedLine(std::string const& data, return std::move(hasher).Finalize(); } -auto HashFunction::HashBlobFile( - std::filesystem::path const& path) const noexcept - -> std::optional> { +auto HashFunction::HashBlobFile(std::filesystem::path const& path) const + noexcept -> std::optional> { return HashTaggedFile(path, CreateGitBlobTag); } -auto HashFunction::HashTreeFile( - std::filesystem::path const& path) const noexcept - -> std::optional> { +auto HashFunction::HashTreeFile(std::filesystem::path const& path) const + noexcept -> std::optional> { return HashTaggedFile(path, CreateGitTreeTag); } -- cgit v1.2.3