Skip to content

Commit aed4bf9

Browse files
author
lupengfan1
committed
follow clang-tidy
1 parent 5243ff3 commit aed4bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/replica/replica_2pc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ void replica::on_client_write(dsn::message_ex *request, bool ignore_throttling)
221221

222222
LOG_DEBUG_PREFIX("got write request from {}", request->header->from_address);
223223
auto mu = _primary_states.write_queue.add_work(request->rpc_code(), request, this);
224-
if (mu) {
224+
if (mu != nullptr) {
225225
init_prepare(mu, false);
226226
}
227227
}

0 commit comments

Comments
 (0)