jnk0le / Ring-Buffer

simple C++11 ring buffer implementation, allocated and evaluated at compile time
MIT License
380 stars 64 forks source link

unncessary void in parameter list #12

Closed jrahlf closed 2 years ago

jrahlf commented 3 years ago

Hi, some functions have a void parameter instead of an empty parameter list. https://github.com/jnk0le/Ring-Buffer/blob/dade96727256c6d7466f716c54bc3bfca3875952/ringbuffer.hpp#L52

jnk0le commented 3 years ago

It's more of a "good practice" in C++, in C it would be the most correct form.