view: add noexcept to data()
This prevents GCC from warning about possible noexcept additions (-Wnoexcept)
This commit is contained in:
parent
1f270f760f
commit
79d19b4f4f
4
view.hpp
4
view.hpp
@ -262,8 +262,8 @@ namespace util {
|
||||
constexpr const EndT cend (void) const noexcept { return m_end; }
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
auto data (void) { return begin (); }
|
||||
auto data (void) const { return begin (); }
|
||||
auto data (void) noexcept { return begin (); }
|
||||
auto data (void) const noexcept { return begin (); }
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user