Skip to content

Commit

Permalink
fix clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
empiredan committed Nov 8, 2024
1 parent 156b18d commit 41abbbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rpc/rpc_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ typedef ::dsn::ref_ptr<rpc_read_stream> rpc_read_stream_ptr;
class rpc_write_stream : public binary_writer
{
public:
rpc_write_stream() = delete;

rpc_write_stream(message_ex *msg)
: _msg(msg), _last_write_next_committed(true), _last_write_next_total_size(0)
{
Expand Down Expand Up @@ -136,10 +138,8 @@ class rpc_write_stream : public binary_writer
message_ex *_msg;
bool _last_write_next_committed;
int _last_write_next_total_size;

rpc_write_stream() = delete;
};

typedef ::dsn::ref_ptr<rpc_write_stream> rpc_write_stream_ptr;
using rpc_write_stream_ptr = dsn::ref_ptr<rpc_write_stream>;

} // namespace dsn

0 comments on commit 41abbbd

Please sign in to comment.