From ed6f31f4c9939d6cc8d4d317d561a94545750b0b Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 5 Aug 2024 12:40:04 +0200 Subject: Replace classic C boolean operators with keywords ! => not; && => and, || => or --- src/buildtool/storage/file_chunker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/storage/file_chunker.cpp') diff --git a/src/buildtool/storage/file_chunker.cpp b/src/buildtool/storage/file_chunker.cpp index b94f487a..08f0dc11 100644 --- a/src/buildtool/storage/file_chunker.cpp +++ b/src/buildtool/storage/file_chunker.cpp @@ -45,7 +45,7 @@ auto FileChunker::IsOpen() const noexcept -> bool { } auto FileChunker::Finished() const noexcept -> bool { - return stream_.eof() && pos_ == size_; + return stream_.eof() and pos_ == size_; } auto FileChunker::NextChunk() noexcept -> std::optional { -- cgit v1.2.3