summaryrefslogtreecommitdiff
path: root/sigc++/tuple-utils/tuple_end.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigc++/tuple-utils/tuple_end.h')
-rw-r--r--sigc++/tuple-utils/tuple_end.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigc++/tuple-utils/tuple_end.h b/sigc++/tuple-utils/tuple_end.h
index 966a6c8..e32d56b 100644
--- a/sigc++/tuple-utils/tuple_end.h
+++ b/sigc++/tuple-utils/tuple_end.h
@@ -58,7 +58,7 @@ tuple_end(T&& t)
{
// We use std::decay_t<> because tuple_size is not defined for references.
constexpr auto size = std::tuple_size<std::decay_t<T>>::value;
- static_assert(len <= size, "The tuple size must be less than or equal to the length.");
+ static_assert(len <= size, "The tuple size must be greater than or equal to the length.");
if constexpr (len == 0)
{