buffer.h: remove protected
This commit is contained in:
parent
635eb6949a
commit
78563e1709
@ -80,10 +80,9 @@ namespace persistent_data {
|
||||
free(p);
|
||||
}
|
||||
|
||||
protected:
|
||||
private:
|
||||
unsigned char data_[Size];
|
||||
|
||||
private:
|
||||
static void check_index(unsigned index) {
|
||||
if (index >= Size)
|
||||
throw std::runtime_error("buffer index out of bounds");
|
||||
|
Loading…
Reference in New Issue
Block a user