File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,8 +45,14 @@ struct RelayDirection
4545 bool srcEof;
4646 bool done;
4747
48- size_t Pending () const { return tail - head; }
49- size_t Available () const { return buf.size () - tail; }
48+ size_t Pending () const
49+ {
50+ return tail - head;
51+ }
52+ size_t Available () const
53+ {
54+ return buf.size () - tail;
55+ }
5056
5157 void Compact ()
5258 {
Original file line number Diff line number Diff line change @@ -77,8 +77,14 @@ struct RelayDirection
7777 bool Done = false ;
7878 bool DstIsSocket = false ;
7979
80- size_t Pending () const { return Tail - Head; }
81- size_t Available () const { return Buffer.size () - Tail; }
80+ size_t Pending () const
81+ {
82+ return Tail - Head;
83+ }
84+ size_t Available () const
85+ {
86+ return Buffer.size () - Tail;
87+ }
8288};
8389
8490void TryIssueRead (RelayDirection& d)
You can’t perform that action at this time.
0 commit comments