Skip to content
Snippets Groups Projects
Verified Commit 8efea5cc authored by ja3-saxby's avatar ja3-saxby
Browse files

Sure let's make capacity() both constexpr and const

parent 8f47a3eb
Branches
Tags
1 merge request!2Josh/2 one way transmission
......@@ -72,7 +72,7 @@ namespace com_saxbophone {
/**
* @returns the total capacity of this buffer
*/
constexpr size_t capacity() {
constexpr size_t capacity() const {
return BUFFER_SIZE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment