Skip to content

Commit cae3972

Browse files
committed
quic: Fix format-cpp
1 parent 75d4b6d commit cae3972

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/dataqueue/queue.cc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ class DataQueueImpl final : public DataQueue,
6565
// added, the size can be cleared if any of the entries are not capable of
6666
// providing a size.
6767
DataQueueImpl(Environment* env, std::optional<uint64_t> cap = std::nullopt)
68-
: idempotent_(false), size_(0), capped_size_(cap), notifier_(nullptr),
69-
env_(env) {}
68+
: idempotent_(false),
69+
size_(0),
70+
capped_size_(cap),
71+
notifier_(nullptr),
72+
env_(env) {}
7073

7174
// Disallow moving and copying.
7275
DataQueueImpl(const DataQueueImpl&) = delete;
@@ -225,8 +228,7 @@ class DataQueueImpl final : public DataQueue,
225228
virtual void newDataOrEnd() = 0;
226229
};
227230

228-
void
229-
reader_destructed(NotifyReader* reader) { readers_.erase(reader); }
231+
void reader_destructed(NotifyReader* reader) { readers_.erase(reader); }
230232

231233
void SetEnvironment(Environment* env) override { env_ = env; }
232234

@@ -1196,7 +1198,7 @@ class FdEntry final : public EntryImpl {
11961198
// ============================================================================
11971199

11981200
std::shared_ptr<DataQueue> DataQueue::CreateIdempotent(
1199-
Environment * env, std::vector<std::unique_ptr<Entry>> list) {
1201+
Environment* env, std::vector<std::unique_ptr<Entry>> list) {
12001202
// Any entry is invalid for an idempotent DataQueue if any of the entries
12011203
// are nullptr or is not idempotent.
12021204
uint64_t size = 0;

0 commit comments

Comments
 (0)