util/{Const,Writable}Buffer: use std::size_t

This commit is contained in:
Max Kellermann
2020-01-03 15:38:02 +01:00
parent 4b0e288f00
commit e654c6e005
5 changed files with 11 additions and 10 deletions

View File

@@ -34,9 +34,9 @@
#include <utility>
#include <algorithm>
#include <cstddef>
#include <assert.h>
#include <stddef.h>
/**
* A first-in-first-out buffer: you can append data at the end, and
@@ -46,7 +46,7 @@
template<class T, size_t size>
class StaticFifoBuffer {
public:
using size_type = size_t;
using size_type = std::size_t;
using Range = WritableBuffer<T>;
protected: