diff --git a/libraries/.gitrepo b/libraries/.gitrepo index d7798c14c..5d5251a05 100644 --- a/libraries/.gitrepo +++ b/libraries/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/Atmosphere-NX/Atmosphere-libs branch = master - commit = ceff2f3712d66904747f77619cd6dc12a5dcea8b + commit = 12d0ba172f0e2aec7cccfd92421dde4aa67f314b parent = 6cf5205a28cfeb30930fd1cfd3c8369cd13edfa3 method = merge cmdver = 0.4.1 diff --git a/libraries/libvapours/include/vapours/util/util_string_view.hpp b/libraries/libvapours/include/vapours/util/util_string_view.hpp index bdec8d6cc..3e823fcf4 100644 --- a/libraries/libvapours/include/vapours/util/util_string_view.hpp +++ b/libraries/libvapours/include/vapours/util/util_string_view.hpp @@ -201,7 +201,7 @@ namespace ams::util { constexpr size_type find(basic_string_view str, size_type pos = 0) const noexcept { return this->find(str.m_str, pos, str.m_len); } - __attribute__((nonnull(1))) + __attribute__((nonnull(2))) constexpr size_type find(const _CharT *str, size_type pos = 0) const noexcept { return this->find(str, pos, traits_type::length(str)); } constexpr size_type rfind(const _CharT *str, size_type pos, size_type n) const noexcept { @@ -234,7 +234,7 @@ namespace ams::util { constexpr size_type rfind(basic_string_view str, size_type pos = 0) const noexcept { return this->rfind(str.m_str, pos, str.m_len); } - __attribute__((nonnull(1))) + __attribute__((nonnull(2))) constexpr size_type rfind(const _CharT *str, size_type pos = 0) const noexcept { return this->rfind(str, pos, traits_type::length(str)); } constexpr size_type find_first_of(const _CharT *str, size_type pos, size_t n) const noexcept { @@ -249,7 +249,7 @@ namespace ams::util { constexpr size_type find_first_of(basic_string_view str, size_type pos = 0) const noexcept { return this->find_first_of(str.m_str, pos, str.m_len); } constexpr size_type find_first_of(_CharT c, size_type pos = 0) const noexcept { return this->find(c, pos); } - __attribute__((nonnull(1))) + __attribute__((nonnull(2))) constexpr size_type find_first_of(const _CharT *str, size_type pos = 0) const noexcept { return this->find_first_of(str, pos, traits_type::length(str)); } constexpr size_type find_last_of(const _CharT *str, size_type pos, size_t n) const noexcept { @@ -270,7 +270,7 @@ namespace ams::util { constexpr size_type find_last_of(basic_string_view str, size_type pos = 0) const noexcept { return this->find_last_of(str.m_str, pos, str.m_len); } constexpr size_type find_last_of(_CharT c, size_type pos = 0) const noexcept { return this->rfind(c, pos); } - __attribute__((nonnull(1))) + __attribute__((nonnull(2))) constexpr size_type find_last_of(const _CharT *str, size_type pos = 0) const noexcept { return this->find_first_of(str, pos, traits_type::length(str)); } constexpr size_type find_first_not_of(const _CharT *str, size_type pos, size_t n) const noexcept { @@ -293,7 +293,7 @@ namespace ams::util { constexpr size_type find_first_not_of(basic_string_view str, size_type pos = 0) const noexcept { return this->find_first_not_of(str.m_str, pos, str.m_len); } - __attribute__((nonnull(1))) + __attribute__((nonnull(2))) constexpr size_type find_first_not_of(const _CharT *str, size_type pos = 0) const noexcept { return this->find_first_not_of(str, pos, traits_type::length(str)); } constexpr size_type find_last_not_of(const _CharT *str, size_type pos, size_t n) const noexcept { @@ -328,7 +328,7 @@ namespace ams::util { constexpr size_type find_last_not_of(basic_string_view str, size_type pos = 0) const noexcept { return this->find_last_not_of(str.m_str, pos, str.m_len); } - __attribute__((nonnull(1))) + __attribute__((nonnull(2))) constexpr size_type find_last_not_of(const _CharT *str, size_type pos = 0) const noexcept { return this->find_last_not_of(str, pos, traits_type::length(str)); } constexpr friend bool operator==(const basic_string_view &lhs, const basic_string_view &rhs) noexcept { return lhs.compare(rhs) == 0; }