From a3f24db5d5278929e04d7620ffe82ea65570299b Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 4 Jan 2017 22:39:18 +1100 Subject: [PATCH] view: make_view should be const --- view.ipp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view.ipp b/view.ipp index 87ba01d5..1c0b75e8 100644 --- a/view.ipp +++ b/view.ipp @@ -175,7 +175,7 @@ template auto util::make_view (const T (&arr)[N]) { - return util::view { arr, arr + N }; + return util::view (arr + 0, arr + N); }