| Index: runtime/vm/ring_buffer.h
|
| diff --git a/runtime/vm/ring_buffer.h b/runtime/vm/ring_buffer.h
|
| index 77f6314c8916815de4617868e5025e288d1d0f43..a8079b5c0d32b9a80a79d7dfe6ccf9e1cb9f44f7 100644
|
| --- a/runtime/vm/ring_buffer.h
|
| +++ b/runtime/vm/ring_buffer.h
|
| @@ -11,14 +11,12 @@
|
| namespace dart {
|
|
|
| // Fixed-capacity ring buffer.
|
| -template<typename T, int N>
|
| +template <typename T, int N>
|
| class RingBuffer {
|
| public:
|
| - RingBuffer() : count_(0) { }
|
| + RingBuffer() : count_(0) {}
|
|
|
| - void Add(const T& t) {
|
| - data_[count_++ & kMask] = t;
|
| - }
|
| + void Add(const T& t) { data_[count_++ & kMask] = t; }
|
|
|
| // Returns the i'th most recently added element. Requires 0 <= i < Size().
|
| const T& Get(int i) const {
|
|
|