Commit e8dcc948 authored by TousakaRin's avatar TousakaRin

fix codes tyle

parent 036a8a4c
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "brpc/event_dispatcher.h" // RemoveConsumer #include "brpc/event_dispatcher.h" // RemoveConsumer
#include "brpc/socket.h" #include "brpc/socket.h"
#include "brpc/describable.h" // Describable #include "brpc/describable.h" // Describable
#include "brpc/circuit_breaker.h" // CircuitBreaker
#include "brpc/input_messenger.h" #include "brpc/input_messenger.h"
#include "brpc/details/sparse_minute_counter.h" #include "brpc/details/sparse_minute_counter.h"
#include "brpc/stream_impl.h" #include "brpc/stream_impl.h"
...@@ -867,7 +868,7 @@ int Socket::SetFailed(int error_code, const char* error_fmt, ...) { ...@@ -867,7 +868,7 @@ int Socket::SetFailed(int error_code, const char* error_fmt, ...) {
// Socket's reference will hit 0(recycle) when no one addresses it. // Socket's reference will hit 0(recycle) when no one addresses it.
ReleaseAdditionalReference(); ReleaseAdditionalReference();
// NOTE: This Socket may be recycled at this point, don't // NOTE: This Socket may be recycled at this point, don't
// touch anything. // touch anything.
return 0; return 0;
} }
} }
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include "brpc/options.pb.h" // ConnectionType #include "brpc/options.pb.h" // ConnectionType
#include "brpc/socket_id.h" // SocketId #include "brpc/socket_id.h" // SocketId
#include "brpc/socket_message.h" // SocketMessagePtr #include "brpc/socket_message.h" // SocketMessagePtr
#include "brpc/circuit_breaker.h" // CircuitBreaker
namespace brpc { namespace brpc {
namespace policy { namespace policy {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment