From abba0913528d5fa107497d24ddd3591dd93b808c Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Thu, 18 Oct 2018 14:07:36 -0400 Subject: [PATCH] include/types: fixed compile warning for signed/unsigned comparison Signed-off-by: Jason Dillaman --- src/include/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/types.h b/src/include/types.h index 73123bc9733..8103cabbb36 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -158,7 +158,7 @@ inline std::ostream& operator<<(std::ostream& out, const std::deque& v) template inline std::ostream& operator<<(std::ostream& out, const std::tuple &t) { - auto f = [n = sizeof...(Ts), i = 0, &out](const auto& e) mutable { + auto f = [n = sizeof...(Ts), i = 0U, &out](const auto& e) mutable { out << e; if (++i != n) out << ","; -- 2.39.5