diff --git a/include/fast_io_dsal/impl/array.h b/include/fast_io_dsal/impl/array.h index 61260b45a..5ed17c894 100644 --- a/include/fast_io_dsal/impl/array.h +++ b/include/fast_io_dsal/impl/array.h @@ -171,7 +171,7 @@ class array #elif __has_cpp_attribute(msvc::forceinline) [[msvc::forceinline]] #endif - inline constexpr reference back(size_type idx) noexcept + inline constexpr reference back() noexcept { constexpr size_type nm1{N - 1}; return content[nm1]; @@ -181,7 +181,7 @@ class array #elif __has_cpp_attribute(msvc::forceinline) [[msvc::forceinline]] #endif - inline constexpr const_reference back(size_type idx) const noexcept + inline constexpr const_reference back() const noexcept { constexpr size_type nm1{N - 1}; return content[nm1];