Browse Source

using size_t like a half decent human being

master
Ludovic 'Archivist' Lagouardette 3 years ago
parent
commit
ba7f3f3906
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/gp/containers/buffer.hpp

+ 1
- 1
include/gp/containers/buffer.hpp View File

@ -48,7 +48,7 @@ namespace gp{
, end_elem{beg_ptr+sz} , end_elem{beg_ptr+sz}
{} {}
constexpr k">typename pointer_iterator<T>::difference_type size() const
constexpr n">size_t size() const
{ {
return end_elem - begin_elem; return end_elem - begin_elem;
} }

Loading…
Cancel
Save