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/execution_api/execution_service/operations_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/execution_service/operations_server.cpp') diff --git a/src/buildtool/execution_api/execution_service/operations_server.cpp b/src/buildtool/execution_api/execution_service/operations_server.cpp index 23023c7d..0654a5ff 100644 --- a/src/buildtool/execution_api/execution_service/operations_server.cpp +++ b/src/buildtool/execution_api/execution_service/operations_server.cpp @@ -30,7 +30,7 @@ auto OperarationsServiceImpl::GetOperation( logger_.Emit(LogLevel::Trace, "GetOperation: {}", hash); std::optional<::google::longrunning::Operation> op; op = op_cache_.Query(hash); - if (!op) { + if (not op) { auto const& str = fmt::format( "Executing action {} not found in internal cache.", hash); logger_.Emit(LogLevel::Error, "{}", str); -- cgit v1.2.3