From eb2bf52273ae286a3cd43b1318de427beb6fd4c0 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Sun, 5 Aug 2018 23:11:18 +0200 Subject: [PATCH] im com (fix compile error) --- src/include/slice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/slice.h b/src/include/slice.h index 240e1ac..27a8fea 100644 --- a/src/include/slice.h +++ b/src/include/slice.h @@ -19,7 +19,7 @@ namespace MultiArrayTools DEFAULT_MEMBERS(ConstSlice); ConstSlice(const std::shared_ptr&... ranges, const T* data = nullptr); - ConstSlice(const MultiArray& ma, SIZET...); + ConstSlice(const MultiArray& ma, SIZET... sizes); virtual const T& operator[](const IType& i) const override; virtual const T& at(const typename IType::MetaType& meta) const override; @@ -137,7 +137,7 @@ namespace MultiArrayTools } template - ConstSlice::ConstSlice(const MultiArray& ma, SIZET...) : + ConstSlice::ConstSlice(const MultiArray& ma, SIZET... sizes) : MutableMultiArrayBase ( ma.range()->template get<0>().template scast(sizes...)->space() ), mData( ma.data() )