diff options
Diffstat (limited to 'common/relptr.h')
-rw-r--r-- | common/relptr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/relptr.h b/common/relptr.h index d45912ab..76850bc9 100644 --- a/common/relptr.h +++ b/common/relptr.h @@ -31,8 +31,8 @@ NPNR_PACKED_STRUCT(template <typename T> struct RelSlice { const T *begin() const { return get(); } const T *end() const { return get() + length; } - const size_t size() const { return length; } - const ptrdiff_t ssize() const { return length; } + size_t size() const { return length; } + ptrdiff_t ssize() const { return length; } const T &operator*() const { return *(get()); } |