summaryrefslogtreecommitdiff
path: root/src/components/protocol/src/rpc_type.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/protocol/src/rpc_type.cc')
-rw-r--r--src/components/protocol/src/rpc_type.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/protocol/src/rpc_type.cc b/src/components/protocol/src/rpc_type.cc
index ce8ab898f5..bc1142ad5c 100644
--- a/src/components/protocol/src/rpc_type.cc
+++ b/src/components/protocol/src/rpc_type.cc
@@ -67,7 +67,7 @@ uint8_t RpcTypeToByte(RpcType type) {
return uint8_t(type);
}
-const char *RpcTypeToString(RpcType type) {
+const char* RpcTypeToString(RpcType type) {
switch (type) {
case kRpcTypeRequest:
return "kRpcTypeRequest";
@@ -80,7 +80,7 @@ const char *RpcTypeToString(RpcType type) {
}
}
-std::ostream &operator<<(std::ostream &os, RpcType rpc_type) {
+std::ostream& operator<<(std::ostream& os, RpcType rpc_type) {
return os << RpcTypeToString(rpc_type);
}
} // namespace protocol_handler