From 561da1cd0049b24bc2cb26a77e7ec4df43ed1f37 Mon Sep 17 00:00:00 2001 From: Kosov Eugene Date: Wed, 21 Oct 2015 13:31:00 +0300 Subject: [PATCH] fix clang warning on unused function parameter --- include/array_view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/array_view.h b/include/array_view.h index 0145799..14d8888 100644 --- a/include/array_view.h +++ b/include/array_view.h @@ -125,7 +125,7 @@ public: template ::max_value > details::SizeTypeTraits::max_value), typename Other = std::enable_if_t>> - constexpr index(const index& other, void* ptr = 0) noexcept + constexpr index(const index& other, void* = 0) noexcept { bool ok = std::accumulate(other.elems, other.elems + Rank, true, [&](bool b, OtherValueType val) { return b && (val <= static_cast(details::SizeTypeTraits::max_value)); }