From 64c0ca64ce82e87bc64ec6b14c2c43a39f99906b Mon Sep 17 00:00:00 2001 From: ewoudvc Date: Tue, 25 Apr 2017 21:01:49 +0200 Subject: [PATCH] make_span for array doesn't pass N as span template parameter (#498) --- include/gsl/span | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gsl/span b/include/gsl/span index 321b496..b344314 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -669,9 +669,9 @@ span make_span(ElementType* firstElem, ElementType* lastElem) } template -span make_span(ElementType (&arr)[N]) +span make_span(ElementType (&arr)[N]) { - return span(arr); + return span(arr); } template