File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ data_chunk frame::payload() const
99
99
const auto data = zmq_msg_data (buffer);
100
100
101
101
const auto begin = static_cast <uint8_t *>(data);
102
- return { begin, begin + size };
102
+ return { begin, begin + size };
103
103
}
104
104
105
105
// Must be called on the socket thread.
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ bool message::dequeue(hash_digest& value)
137
137
data_chunk message::dequeue_data ()
138
138
{
139
139
if (queue_.empty ())
140
- return {};
140
+ return {};
141
141
142
142
const auto data = queue_.front ();
143
143
queue_.pop ();
@@ -147,7 +147,7 @@ data_chunk message::dequeue_data()
147
147
std::string message::dequeue_text ()
148
148
{
149
149
if (queue_.empty ())
150
- return {};
150
+ return {};
151
151
152
152
const auto & front = queue_.front ();
153
153
auto text = std::string (front.begin (), front.end ());
Original file line number Diff line number Diff line change @@ -75,14 +75,14 @@ identifiers poller::wait(int32_t timeout_milliseconds)
75
75
if (signaled < 0 )
76
76
{
77
77
terminated_ = true ;
78
- return {};
78
+ return {};
79
79
}
80
80
81
81
// No events have been signaled and no failure, so the timer expired.
82
82
if (signaled == 0 )
83
83
{
84
84
expired_ = true ;
85
- return {};
85
+ return {};
86
86
}
87
87
88
88
// At least one event was signaled, but the poll-in set may be empty.
You can’t perform that action at this time.
0 commit comments