@@ -155,7 +155,7 @@ class image {
155
155
template <bool B = (Dimensions > 1 )>
156
156
image (void *HostPointer, image_channel_order Order, image_channel_type Type,
157
157
const range<Dimensions> &Range,
158
- typename std::enable_if<B, range<Dimensions - 1 >>::type &Pitch,
158
+ const typename std::enable_if<B, range<Dimensions - 1 >>::type &Pitch,
159
159
const property_list &PropList = {}) {
160
160
impl = std::make_shared<detail::image_impl<Dimensions>>(
161
161
HostPointer, Order, Type, Range, Pitch,
@@ -167,7 +167,7 @@ class image {
167
167
template <bool B = (Dimensions > 1 )>
168
168
image (void *HostPointer, image_channel_order Order, image_channel_type Type,
169
169
const range<Dimensions> &Range,
170
- typename std::enable_if<B, range<Dimensions - 1 >>::type &Pitch,
170
+ const typename std::enable_if<B, range<Dimensions - 1 >>::type &Pitch,
171
171
AllocatorT Allocator, const property_list &PropList = {}) {
172
172
impl = std::make_shared<detail::image_impl<Dimensions>>(
173
173
HostPointer, Order, Type, Range, Pitch,
0 commit comments