view: add noexcept to data()

This prevents GCC from warning about possible noexcept additions
(-Wnoexcept)
This commit is contained in:
Danny Robson 2018-02-26 10:55:10 +11:00
parent 1f270f760f
commit 79d19b4f4f

View File

@ -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 (); }
///////////////////////////////////////////////////////////////////////