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/build_engine/expression/expression.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/build_engine/expression/expression.hpp') diff --git a/src/buildtool/build_engine/expression/expression.hpp b/src/buildtool/build_engine/expression/expression.hpp index 219a5927..89f5c5ea 100644 --- a/src/buildtool/build_engine/expression/expression.hpp +++ b/src/buildtool/build_engine/expression/expression.hpp @@ -210,7 +210,7 @@ class Expression { template [[nodiscard]] auto operator!=(T const& other) const noexcept -> bool { - return !(*this == other); + return not(*this == other); } [[nodiscard]] auto operator[]( std::string const& key) const& -> ExpressionPtr const&; -- cgit v1.2.3